[Webkit-unassigned] [Bug 28804] New: Decimal CSS px dimensions round down to nearest pixel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 28 06:06:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28804

           Summary: Decimal CSS px dimensions round down to nearest pixel
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P4
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dawagner at gmail.com
                CC: dawagner at gmail.com


Created an attachment (id=38727)
 --> (https://bugs.webkit.org/attachment.cgi?id=38727)
Page showing bug

The CSS spec (http://www.w3.org/TR/CSS21/syndata.html#value-def-length) says
"The format of a length value (denoted by <length> in this specification) is a
<number> (with or without a decimal point) immediately followed by a unit
identifier (e.g., px, em, etc.)".  In WebKit, if the <length> has a decimal
point, anything following it before the unit is ignored.

This behaviour is consistent with Internet Explorer but not with Firefox or the
CSS spec.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list