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

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

From: Markus Ernst <derernst@gmx.ch>
Date: Sat, 05 Jun 2010 19:10:56 +0200
Cc: public-i18n-bidi@w3.org, www-style@w3.org, bert@w3.org, fantasai.lists@inkedblade.net, alan@css-class.com, ambrose.li@gmail.com, jackalmage@gmail.com, addison@lab126.com
Message-ID: <20100605171056.211180@gmx.net>
To: Adil Allawi <adil@diwan.com>, aharon@google.com
> -------- Original-Nachricht --------
> Datum: Sat, 05 Jun 2010 10:33:11 +0100
> Von: Adil Allawi <adil@diwan.com>

> I think there is a need to control, through CSS, of the bullet   
> alignment 
> separately from the text align and a new value (for want of a better 
> name) 'match-dir' to give the alignment based on the dir attribute of 
> the <li> element as follows:
> 
> For a list starting with <ul dir="ltr"><li>hello</li> :
> 
> 1. <li dir="rtl" style="text-align:match-dir;      
> bullet-align:match-dir">HELLO gives:
> 
> * hello
>                   OLLEH *    
> 2. <li dir="rtl" style="text-align:match-dir; 
> bullet-align:match-parent">HELLO gives:
> 
> * hello
> *                 OLLEH    
> 4. <li style="text-align:match-parent; bullet-align:match-dir">HELLO  
>  
>   (with no styles) gives:
> * hello
>   OLLEH *
> 
> 
> 3. <li style="text-align:match-parent; 
> bullet-align:match-parent">HELLO(with no styles) gives:
> 
> * hello
> * OLLEH
> 
> 
>  
> The default behavior of the HTML with no CSS would be one of the   
> four possibilities above.

There is one point that I don't understand about the whole discussion: Is there any use case where a rendering other than 

* hello
* OLLEH

would be desired? It is the only one that does not look broken to me.
-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
Received on Saturday, 5 June 2010 17:11:32 GMT

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