[Bug 23603] should body.scrollTop/Left return an overflown body's scroll offset in both strict and quirks modes?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23603

--- Comment #5 from Antonio Gomes <tonikitoo@webkit.org> ---
(In reply to Antonio Gomes from comment #1)
> If Gecko's behavior is preferred, item (3) could get amended as:
> 
> 3) If the element is the HTML body element, the Document is in quirks mode,
> *and the element has no associated scrolling box*, return the value of
> scrollY.
> 
> likewise, scrollLeft would have to be changed, as well as the symmetric set
> operations (setting scrollTop and scrollLeft).

After reading setscrolltop/left, they already have this:

"
If the element is the HTML body element, the Document is in quirks mode,
****and the element does not have any vertical overflow****, invoke scroll()
with scrollX as first argument and y as second, and, if the given value is a
ScrollOptionsVertical object, the given value as the third argument.
"

So, my proposal should be ok.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 23 October 2013 10:58:55 UTC