Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: firefox (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1075461

Title:
  Wrong conversion em -> px for font-size < 10 px

Status in “firefox” package in Ubuntu:
  Confirmed

Bug description:
  When using em for dimensions (height, width, etc.) other than font-
  size, the dimensions are not calculated correctly if the font-size is
  < 10px.

  Example:

  <!DOCTYPE html>
  <html lang="de">
        <head>
                <meta charset="utf-8">
                <title>em | px bug Firefox Ubuntu</title>
                <style type="text/css">
                        div     {
                                background-color: #EE0000;
                                display: block;
                                margin-bottom: 10px;                    
                        }
                        div._24px {
                                font-size: 24px;
                                height: 5em;
                                width: 5em;                             
                        }
                        div._12px {
                                font-size: 12px;
                                height: 10em;
                                width: 10em;
                        }
                        div._10px {
                                font-size: 10px;
                                height: 12em;
                                width: 12em;
                        }
                        div._8px {
                                font-size: 8px;
                                height: 15em;
                                width: 15em;
                        }
                        div._6px {
                                font-size: 6px;
                                height: 20em;
                                width: 20em;
                        }                       
                </style>
        </head>

        <body>
                <div class="_24px">
                        &nbsp;
                </div>
                <div class="_12px">
                        &nbsp;
                </div>
                <div class="_10px">
                        &nbsp;
                </div>
                <div class="_8px">
                        &nbsp;
                </div>
                <div class="_6px">
                        &nbsp;
                </div>  
        </body>
  </html>

  All the divs should have exactly the same dimensions, which in not the
  case in Firefox 10.0.2: div._8px and div._6px are too big, their
  height and width is calculated based on a font size of 10px.

  Release:  Ubuntu 12.04.1 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1075461/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to