-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=122882 Reviewed by Anders Carlsson. Source/WebCore: scrollLeft and scrollTop have to continue to function in the strict mode for the Web compatiblity. In particular, www.facebook.com and build.webkit.org depend on this behavior as of October 29th, 2013. * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::scrollLeft): (WebCore::HTMLBodyElement::setScrollLeft): (WebCore::HTMLBodyElement::scrollTop): (WebCore::HTMLBodyElement::setScrollTop): LayoutTests: * fast/dom/Element/body-scrollLeft-expected.txt: * fast/dom/Element/body-scrollLeft.html: * fast/dom/Element/body-scrollTop-expected.txt: * fast/dom/Element/body-scrollTop.html: * fast/dom/Element/scrollLeft-expected.txt: * fast/dom/Element/scrollLeft.html: * fast/dom/Element/scrollTop-expected.txt: * fast/dom/Element/scrollTop.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16985db4