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

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

From: Alan Gresley <alan@css-class.com>
Date: Sat, 05 Jun 2010 03:31:32 +1000
Message-ID: <4C093874.3030304@css-class.com>
To: Brad Kemper <brad.kemper@gmail.com>
CC: "Aharon (Vladimir) Lanin" <aharon@google.com>, "Phillips, Addison" <addison@lab126.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Ambrose LI <ambrose.li@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, Bert Bos <bert@w3.org>, W3C style mailing list <www-style@w3.org>, Adil Allawi <adil@diwan.com>, "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>
Brad Kemper wrote:
> On Jun 4, 2010, at 4:00 AM, Aharon (Vladimir) Lanin wrote:
>> This is what one gets today in IE for <ul dir="ltr"><li>hello</li><li dir="rtl">HELLO</li></ul>, with default alignment.
>> In the other browsers, the bullet on the RTL item disappears somehow.
> In Webkits snippet editor, I can scroll to the right to see it. 

The list markers (bullets) in with rtl on the LI do not disappear. 
They sit in a region outside the 'containing block' [1] (or 'initial 
containing block' if the LI have auto width and spans the full 
viewport) and a region where the *whole block formatting breaks down*.
Something like this which shows overlapping.


If you were to float a UL or OL to the left with rtl LI (or the right 
for ltr LI), then the content following these floats would be covered 
by the list markers.

The following test case shows what happens for all browsers with list 
markers (bullets) in with rtl where they are in a clearly defined 
'containing block'.


1. <http://www.w3.org/TR/CSS21/visudet.html#containing-block-details>

Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Friday, 4 June 2010 17:32:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:36 UTC