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

Re: [css-writing-modes] sideways-left with other text-orientation descendant

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 25 Aug 2015 22:24:40 +0200
Message-ID: <55DCCF08.6080103@inkedblade.net>
To: www-style@w3.org
On 05/12/2014 08:53 PM, Simon Sapin wrote:
> In §5.1 Orienting Text: the text-orientation property:
>
>> sideways-left
>>
>> [...]
>>
>> Similarly, if an inline child of the box has a text-orientation value
>> other than sideways-left, an analogous transformation (and bidi
>> isolation) is applied.
>
> Rather than "inline child", shouldn’t this be something like
> "inline descendant in the same inline formatting context" ?
> Example where this is relevant:
>
> <p style="text-orientation: sideways-left">Foo <em><a style="text-orientation: mixed">bar

No, because
   a) It isn't necessary because em also has text-orientation: sideways
   b) It's harmful because if <a> has a child also, then we have a problem
      since it is also considered a descendant of <em> and <p>.
The current wording is therefore correct.

~fantasai
Received on Tuesday, 25 August 2015 20:25:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 August 2015 20:25:13 UTC