W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [cssom-view] Element.scrollIntoView()

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 31 Aug 2010 21:46:46 -0700
Message-ID: <AANLkTi=8vecHKB7w2s-HsgSJ6WU-btmp9cyruWYF0zV6@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: www-style@w3.org, "Robert O'Callahan" <robert@ocallahan.org>
In WebKit, for LTR content, the box is aligned on the right. So, it seems
self-consistent (i.e. RTL and LTR do inverse behavior). I didn't test other
browsers other than to verify that IE8 also left-aligns in RTL content.

Maybe I'm misunderstanding. I tested with the following (both in RTL and
<div style="border:1px solid red;width:200px;overflow:auto;">


On Tue, Aug 31, 2010 at 2:28 AM, Anne van Kesteren <annevk@opera.com> wrote:

> Ian asked if scrollIntoView() could move into CSSOM View from HTML5 as that
> seemed more appropriate. I have now defined this method. I noticed that for
> RTL content the box is still aligned on the left in implementations (WebKit
> / Gecko; Opera is buggy). Do we want to change that?
> http://dev.w3.org/csswg/cssom-view/#dom-element-scrollintoview
> --
> Anne van Kesteren
> http://annevankesteren.nl/
Received on Wednesday, 1 September 2010 04:47:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC