W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > May 2012

[Bug 17182] New: DIV width in cm has an incorrect length

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 May 2012 10:12:37 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-17182-5148@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17182

           Summary: DIV width in cm has an incorrect length
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Values and Units
        AssignedTo: jackalmage@gmail.com
        ReportedBy: markus.rauth@googlemail.com
         QAContact: public-css-bugzilla@w3.org
                CC: fantasai.bugs@inkedblade.net, howcome@opera.com


Hello,

this code should displays a div with length of 6cm.

<html>

  <head>
    <title>Test of width declaration at a DIV</title>
  </head>

  <body>
    <div style="background-color: #000; width: 6cm;">Test</div>
  </body>

</html>


But if I measure it is 5.7cm.

The same is if I declare a div with 2cm, than I got 1.9cm.


Is this a Bug?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 25 May 2012 10:12:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 May 2012 10:12:41 GMT