[Webkit-unassigned] [Bug 35770] New: CSSPrimitiveValue.getFloatValue does not convert sizes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 4 15:23:07 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35770
Summary: CSSPrimitiveValue.getFloatValue does not convert sizes
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bradley.meck at gmail.com
Created an attachment (id=50057)
--> (https://bugs.webkit.org/attachment.cgi?id=50057)
Test Case
CSSPrimitiveValue.getFloatValue always returns the original magnitude of the
style declaration but does not convert the magnitude to other units as per
http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue .
IE: a style declaration of length 2em will always return 2, for all units.
A side note is that because getComputedStyle converts this to px it will always
return the px of a css value that is a length.
--
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