> Date: Tue, 15 Apr 2014 12:31:48 +1200 > From: robert@ocallahan.org > > BTW let me summarize the current state of the situation as I understand it: > > Behavior A: For RTL, attribute value 0 means scrolled all the way to > the right, and attribute value increases as you scroll left. > Behavior B: For RTL, attribute value 0 means scrolled all the way to > the right, and attribute value increases as you scroll right. > Behavior C: For RTL, attribute value 0 means scrolled all the way to > the left, and attribute value increases as you scroll right. > > FF: B for window.scrollX, B for non-body non-root scrollLeft > Chrome: B for window.scrollX, C for non-body non-root scrollLeft > IE: A for window.scrollX, A for non-body non-root scrollLeft (can > someone check with > http://people.mozilla.org/~roc/test_rtl_scrollLeft.html? I don't have > IE here) > Spec: B for window.scrollX, C for non-body non-root scrollLeft (but > Simon wants window.scrollX to be C) > > One other thing: currently pageXOffset is implemented by all browsers > and the spec to have behavior B. If the spec changes the definition of > window.scrollX, the definition of pageXOffset needs to be changed to > not refer to scrollX. Testing IE11 on Windows 7: Main page: A for documentElement.scrollLeft and B for window.pageXOffset (window.scrollX is undefined). overflow:scroll div: A for scrollLeft. The overflow:scroll iframe test doesn't work because data: isn't supported in that context in IE. -- James Ross (james@james-ross.co.uk)Received on Tuesday, 15 April 2014 08:42:18 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC