[Webkit-unassigned] [Bug 42799] When setting 'style.width' with em unit, the value of 'style.pixelWidth' is not transformed from 'em' to 'px'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 6 17:43:53 PDT 2010


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





--- Comment #2 from Yuxiang Luo <luoyx at google.com>  2010-08-06 17:43:53 PST ---
(In reply to comment #1)
> What is "pixelWidth"? I don't see it in the source anywhere.

pixelWidth and posWidth (and others) properties are calculated when they are accessed. You can look at 'JSCSSStyleDeclaration.cpp', and search 'pixel'.
I'm currently working on a patch to fix 'pixel/pos' problem.

-- 
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