Re: [cssom-view] value of scrollLeft in RTL situations is completely busted across browsers

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.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w

Received on Tuesday, 15 April 2014 00:32:16 UTC