12013-08-22 Gurpreet Kaur <gur.trio@gmail.com>
2
3 <https://webkit.org/b/106133> document.body.scrollTop & document.documentElement.scrollTop differ cross-browser
4
5 Reviewed by NOBODY (OOPS!).
6
7 * fast/dom/Element/scrollLeft-Quirks-expected.txt: Added.
8 * fast/dom/Element/scrollLeft-Quirks.html: Added.
9 * fast/dom/Element/scrollLeft-expected.txt: Added.
10 * fast/dom/Element/scrollLeft.html: Added.
11 * fast/dom/Element/scrollTop-Quirks-expected.txt: Added.
12 * fast/dom/Element/scrollTop-Quirks.html: Added.
13 * fast/dom/Element/scrollTop-expected.txt: Added.
14 * fast/dom/Element/scrollTop.html: Added.
15 Added new tests for verifying our behavior for document.body.scrollTop/scrollLeft and
16 document.documentElement.scrollTop/scrollLeft for both Quirks as well as Standard mode.
17
18 * fast/css/zoom-body-scroll-expected.txt:
19 * fast/css/zoom-body-scroll.html:
20 * fast/events/mouse-cursor.html:
21 * http/tests/navigation/anchor-frames-expected.txt:
22 * http/tests/navigation/anchor-frames-gbk-expected.txt:
23 * http/tests/navigation/resources/frame-with-anchor-gbk.html:
24 * http/tests/navigation/resources/frame-with-anchor-same-origin.html:
25 * http/tests/navigation/resources/frame-with-anchor.html:
26 * platform/mac-wk2/tiled-drawing/resources/scroll-and-load-page.html:
27 * platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html:
28 Rebaselining existing tests as per the new behavior. The test cases are changed to use
29 quirks mode because it uses document.body.scrollTop/scrollLeft and as per the new code
30 document.body.scrollTop/scrollLeft will return correct value if document is in quirk mode
31 Also test cases have been modified so that it tests what it used to.
32