W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: [CSSOM] does CaretPosition need a "before/after" hint?

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Tue, 28 Jun 2011 20:36:56 -0700
Message-ID: <BANLkTi=wR_+wCag+AJGAODRSpAY_DXKu8A@mail.gmail.com>
To: robert@ocallahan.org
Cc: Simon Montagu <smontagu@smontagu.org>, Ojan Vafai <ojan@chromium.org>, Anne van Kesteren <annevk@opera.com>, Julie Parent <jparent@chromium.org>, Eric Seidel <eseidel@chromium.org>, "www-style@w3.org" <www-style@w3.org>
Here's what I'm afraid to happen.  Because many Web developers are
unfamiliar with bidirectional text, they'll falsely consider this flag as
purely an indicator for the caret location around a line-wrap.  They build
applications based on that false assumption and their applications break
when used with bidirectional text.

- Ryosuke

On Tue, Jun 28, 2011 at 8:32 PM, Ryosuke Niwa <rniwa@webkit.org> wrote:

> On Tue, Jun 28, 2011 at 8:07 PM, Robert O'Callahan <robert@ocallahan.org>wrote:
>> It seems that with the Mac split caret, one half shows where left-to-right
>> text would be inserted and the other half shows where right-to-left text
>> would be inserted. That can be calculated from the text, ignoring the
>> attachment flag. So it still seems not to be a problem.
> That's why I have a problem with mixing line-wrapping flag and bidi flag.
>  This would mean that some UAs use the flag to indicate where the caret
> should be rendered at directionality boundary whereas others use it purely
> for indicate on which side of line-wrap the caret belongs.
> - Ryosuke
Received on Wednesday, 29 June 2011 03:37:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC