[Webkit-unassigned] [Bug 45228] New: window.scrollBy() scrolls incorrectly when zoomed in/out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 4 10:05:18 PDT 2010


           Summary: window.scrollBy() scrolls incorrectly when zoomed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P4
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: David.Chambers.05 at gmail.com

Created an attachment (id=66584)
 --> (https://bugs.webkit.org/attachment.cgi?id=66584)
Demo of incorrect window.scrollBy() behaviour

window.scrollBy(0, 100) does not scroll by 100px if the browser's "zoom" is greater than or less than 100%. When zoomed in, the window is scrolled by less than 100px. When zoomed out, the window is scrolled by more than 100px. This suggests that window.scrollBy() does not respect the scaling factor being applied to the page.

Firefox handles these situations correctly.

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