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

>
>
>> Based on this data, I propose we adopt the Gecko/Opera behavior for both
>> viewport and non-viewport scrolling. (I assume everyone agrees that Webkit
>> treating them differently is a bug.)
>>
>> If we need a property that always starts at 0 and progresses left in RTL
>> situations, I suggest creating a new "scrollHorizontal" property for that.
>
>
> I agree. scrollLeft should express legacy behavior (to the extent we can
> agree on a norm), and a new method can be defined to effectively abstract
> writing mode;
>
>
I'm quite happy with this approach too.

Would we then agree with Rob's original suggestion ("I think most Web
content I've seen that uses scrollLeft assumes its minimum value is zero
and it increases from left to right" - the key here is that the minimum
maps to the left hand edge) as a specification for scrollLeft? Or
alternatively explicitly denote that scrollLeft is legacy and undefined for
RTL content?

Cheers,
    -Shane


> Glenn
> --
> "What can be asserted without proof can be dismissed without proof." -
> Christopher Hitchens
>
>
>>
>> Rob
>> --
>> “You have heard that it was said, ‘Love your neighbor and hate your
>> enemy.’ But I tell you, love your enemies and pray for those who persecute
>> you, that you may be children of your Father in heaven. ... If you love
>> those who love you, what reward will you get? Are not even the tax
>> collectors doing that? And if you greet only your own people, what are you
>> doing more than others?" [Matthew 5:43-47]
>>
>>
>

Received on Thursday, 9 August 2012 05:33:42 UTC