W3C home > Mailing lists > Public > www-style@w3.org > August 2012

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

From: Ojan Vafai <ojan@chromium.org>
Date: Fri, 17 Aug 2012 22:57:54 -0700
Message-ID: <CANMdWTugJTNJC_J=AfXeZKqz=QRtt3FTPuniCbPw8=9sYOiAkA@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: robert@ocallahan.org, www-style@gtalbot.org, www-style <www-style@w3.org>, Shane Stephens <shans@google.com>, ML publc-i18n-bidi <public-i18n-bidi@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT