[Webkit-unassigned] [Bug 9248] Quirksmode: document.documentElement.scrollTop is always

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 02:33:02 PST 2010


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





--- Comment #13 from João Eiras <joao.eiras at gmail.com>  2010-11-17 02:33:01 PST ---
Created an attachment (id=74095)
 --> (https://bugs.webkit.org/attachment.cgi?id=74095&action=review)
Testcase

My testcase tests standards mode and shows that in webkit, documentElement.scrollTop/Left are 0.

However, scrollLeft and scrollTop on the document element should returns the amount of viewport scrolled in that direction, while the same properties on body must be zero (unless the body also overflows, which is not the case in the testcase).

Known victim: http://www.is-real.net/experiments/css3/wonder-webkit/
Site relies on this behavior and breaks in all the other browser, although the others implement the *correct* behavior.

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