[Webkit-unassigned] [Bug 32230] getComputedStyle() returns different values for different zoom levels
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 2 11:45:13 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=32230
Erik Arvidsson <arv at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Component|New Bugs |CSS
AssignedTo|webkit-unassigned at lists.web |arv at chromium.org
|kit.org |
--- Comment #4 from Erik Arvidsson <arv at chromium.org> 2010-09-02 11:45:13 PST ---
I looked at the code for this and I think a solution would be to replace all calls like this in CSSComputedStyleDeclaration.cpp
CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_PX);
with something like
createZoomAdjustedPixelValue(value, renderer)
which would call WebCore::adjustForLocalZoom on the value and then return a new CSSPrimitiveValue.
--
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