[Webkit-unassigned] [Bug 105979] New: Full Page Zoom: getComputerdStyle() returns incorrect values for left, right, top, bottom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 2 17:43:20 PST 2013


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

           Summary: Full Page Zoom: getComputerdStyle() returns incorrect
                    values for left,right,top,bottom
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adammcraven at gmail.com


Created an attachment (id=181121)
 --> (https://bugs.webkit.org/attachment.cgi?id=181121&action=review)
Test Case

In WebKit, getComputedStyle() returns scaled values (seems to be +10%) for properties such as left, right, top and bottom (when the 'position' of an element is 'relative'). This makes it impossible to rely on these values.

Firefox reports the values accurately.

Please see the attached test case.


The jQuery community has stumbled upon the issue a few times over the years... This issue prevents jQuery.animate() from functioning correctly in WebKit. http://bugs.jquery.com/ticket/4993#comment:9
An example of that issue can be seen here: http://jsfiddle.net/sFYjc/2/


Related to https://bugs.webkit.org/show_bug.cgi?id=32230

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