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

Re: [CSS21] bidi, text-align, and list markers

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 2 Jun 2010 16:28:07 -0700
Message-ID: <AANLkTin6fX603LyYGfPySbTC1jqOrsaDev0MjNC97nAa@mail.gmail.com>
To: Ambrose LI <ambrose.li@gmail.com>
Cc: Alan Gresley <alan@css-class.com>, fantasai <fantasai.lists@inkedblade.net>, Bert Bos <bert@w3.org>, W3C style mailing list <www-style@w3.org>
On Wed, Jun 2, 2010 at 11:25 AM, Ambrose LI <ambrose.li@gmail.com> wrote:
> On 2 June 2010 14:12, Alan Gresley <alan@css-class.com> wrote:
>> I disagree to regarding the placement of the list marker. For Boris'
>> example.
>>
>>    * 123 WERBEH
>>    * latin latin
>>    * latin latin
>>
>>
>> To achieve this, an author can use a child element.
>>
>> <ul>
>>  <li><span dir="rtl">HEBREW 123</span></li>
>>  <li>latin latin</li>
>>  <li>latin latin</li>
>> </ul>
>
> But wouldn't it be very counterintuitive to have <li dir=rtl> mean
> something different than <li><span dir=rtl> ?
>
> As an uninformed author (i.e., one that is not following this list
> closely), I find it very surprising that I'll have to use a child
> element when I can set the direction in the list item.

I find it relatively clear.  The ::marker is a child of the <li>, so
@dir on the <li> affects it, but @dir on a child of the <li> doesn't.

~TJ
Received on Wednesday, 2 June 2010 23:29:00 GMT

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