W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

Re: [CSS21] Bidi on inline-blocks and inline-tables

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 07 Sep 2010 17:01:07 -0700
Message-ID: <4C86D243.8000903@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>, 'WWW International' <www-international@w3.org>, "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>
On 08/23/2010 07:11 PM, fantasai wrote:
> On 07/21/2010 12:54 PM, fantasai wrote:
>> CSS2.1 9.10 http://www.w3.org/TR/CSS21/visuren.html#direction
>>
>> # In this process, non-textual entities such as images are treated as
>> neutral
>> # characters, unless their 'unicode-bidi' property has a value other than
>> # 'normal', in which case they are treated as strong characters in the
>> # 'direction' specified for the element.
>>
>> This makes sense for inline replaced elements (and should say "inline
>> replaced elements" instead of "non-textual entities"), given the way they
>> will behave if the replaced content fails to load and alternate text is
>> shown inline instead.
>>
>> But inline-blocks and inline-tables are not handled in this sentence.
>> I think they should be treated as neutral always.
>>
>> http://fantasai.inkedblade.net/style/tests/issues/bidi-atomic-inlines
>
> Proposed wording changes for CSS2.1 Issue 187:
> http://wiki.csswg.org/spec/css2.1#issue-187
>
> # In this process, non-textual entities such as images are treated as
> # neutral characters, unless their 'unicode-bidi' property has a value
> # other than 'normal', in which case they are treated as strong
> # characters in the 'direction' specified for the element.
>
> s/non-textual entities/replaced elements that would generate inline
> boxes if they were non-replaced/
> s/such as images/, such as images with 'display: inline',/
>
> (The awkward wording being required to handle run-ins.)
>
> Then append:
>
>   | All other atomic inline-level boxes are treated as neutral characters
>   | always.

Updated proposal:

   # In this process, non-textual entities such as images are treated as
   # neutral characters, unless their 'unicode-bidi' property has a value
   # other than 'normal', in which case they are treated as strong
   # characters in the 'direction' specified for the element.

Change
   # In this process, non-textual entities such as images are treated as
to
   | In this process, replaced elements with 'display: inline' (and
   | replaced elements with 'display: run-in', when they generate
   | inline-level boxes) are treated as

Then append:

   | All other atomic inline-level boxes are treated as neutral characters
   | always.

~fantasai
Received on Wednesday, 8 September 2010 00:01:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 September 2010 00:01:51 GMT