- From: Gérard Talbot <www-style@gtalbot.org>
- Date: Wed, 8 Aug 2012 23:23:52 -0400
- To: "Robert O'Callahan" <robert@ocallahan.org>
- Cc: "Sylvain Galineau" <sylvaing@microsoft.com>, "www-style" <www-style@w3.org>, "Shane Stephens" <shans@google.com>, "ML publc-i18n-bidi" <public-i18n-bidi@w3.org>
Le Mer 8 août 2012 22:27, Robert O'Callahan a écrit : > If we do make scrollLeft and pageXOffset different for RTL, we'll need to > decide which one scrollX maps to. Some browsers maps all 3 to the same value. Firefox 14.0.1, Opera 12.01 and Konqueror 4.9.0 map window.pageXOffset to document.documentElement.scrollLeft and to window.scrollX . See http://www.gtalbot.org/BugzillaSection/Bug189308_ScrollEvent.html > I suppose making it equal scrollLeft is > most logical. We'll also have to define scrollTo() for RTL; making it > follow scrollLeft/scrollTop is what IE does, which seems reasonable. For your information, Chrome 21.0.1180.75 maps window.pageXOffset to document.body.scrollLeft (and not to document.documentElement.scrollLeft) which seems to me to be an error. Demo (old but still ok for the purpose of discussion): http://www.gtalbot.org/BugzillaSection/Bug189308_ScrollEvent.html Gérard -- CSS 2.1 Test suite RC6, March 23rd 2011 http://test.csswg.org/suites/css2.1/20110323/html4/toc.html Contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ Web authors' contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Thursday, 9 August 2012 03:24:22 UTC