[Webkit-unassigned] [Bug 63333] New: CSS zoom property incorrectly affects offset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 24 10:51:34 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63333
Summary: CSS zoom property incorrectly affects offset
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mmacleod at webmail.co.za
When CSS zoom is applied to an element the element can return incorrect offset values as a results (even though it continues to display in the correct place), seemingly the code to fill in the offsets automatically assumes that the element itself has been affected by the zoom without actually checking to ensure this is the case.
Steps to reproduce:
1) Open attached testcase "zoombug.html"
2) click through 3 alert messages observing the offsetLeft value that it displays
3) observe that in each case the actual position of the div has not changed
4) observe that only the content inside the div that is zoomed the page around the div and the div itself are not affected by the zoom
5) observe that in each case the offsetLeft value of the element does change despite the fact that it is clearly offset by the exact same amount it was previously
--
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