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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 14:22:20 PST 2011


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





--- Comment #12 from Sneha Bhat <mail.snehabhat at gmail.com>  2011-12-06 14:22:19 PST ---
(In reply to comment #11)
> LayoutTests/fast/dom/zoom-scroll-page-test.html:21
> +            if(offset >= 199)

>so what if it is 400? then it should fail right?


In LayoutTests/fast/dom/zoom-scroll-page-test.html:11
   The value of x is 200, and window.scrollBy(0,x) should scroll the window by 200 px. However the window.pageYoffset is 199.This is possibly because of some rounding issue somewhere else.

Applying the zoom factor will not alter the value of x to 400 and offset to 400px.

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