W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Proposal: new "auto" value for the "direction" property

From: Simon Montagu <smontagu@smontagu.org>
Date: Wed, 19 May 2004 10:00:48 +0300
Message-ID: <40AB0620.2050704@smontagu.org>
To: www-style@w3.org

The current values of "rtl" and "ltr" for the "direction" property can 
produce unexpected results in situations where the content of an element 
can be either right-to-left or left-to-right text. See for example 
http://bugzilla.mozilla.org/show_bug.cgi?id=224685, especially comment 4.

For such situations it would be useful to have a value "auto", 
indicating that the direction depends on the intrinsic direction of the 
content. To determine the direction, the UA should use the algorithm 
described in rules P2 and P3 of the Unicode Bidi Algorithm at 
http://www.unicode.org/reports/tr9/#P2
Received on Wednesday, 19 May 2004 03:10:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT