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

On Fri, Aug 17, 2012 at 8:24 PM, Glenn Adams <glenn@skynav.com> wrote:

>
> On Sat, Aug 18, 2012 at 9:41 AM, Ojan Vafai <ojan@chromium.org> wrote:
>
>> How about scrollStart to be consistent with marginStart, et. al. from
>> CSS? Then it can also do the right thing in vertical writing-mode (e.g. set
>> the scrollTop). Obviously, we'd want to add scrollBefore as well to be the
>> logical equivalent to scrollTop.
>>
>
> 'before' (referring to logically prior in the block progression dimension)
> generally refers to right, not top for vertical modes that are top to
> bottom, right to left
>

What I meant was that scrollBefore is the logical equivalent to the
physical scrollTop (i.e. in the default writing-mode/direction, scrollLeft
== scrollStart and scrollTop == scrollBefore).

Received on Saturday, 18 August 2012 05:58:45 UTC