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

I think it's pretty obvious which behavior I think we should standardize on
here, but I'll spell it out :-). Adopting B everywhere has the following
advantages:
-- Matches window.pageXOffset in all browsers
-- Matches event.pageX in all browsers. A and C do not match any of the
event attributes.
-- Matches 2/3 browsers and spec for window.scrollX
-- For element.scrollLeft, no worse on browser compat than A or C.
-- Avoids making direction logical, which while appealing in some ways
occurs nowhere else in CSS

Whichever behavior we choose breaks some properties that hold in LTR pages.
B preserves the "direction increases to the right" property and the "set
position to 0 to get the initial, logical start position" property.

If we choose A or C for any attributes then we will have inconsistency with
window.pageXOffset and event.pageX (at least) and at least two browsers
will have to change behavior for each attribute.

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 Monday, 5 May 2014 07:40:35 UTC