- From: Bert Bos <bert@w3.org>
- Date: Fri, 8 Sep 2006 18:44:35 +0200
- To: "Richard Ishida" <ishida@w3.org>
- Cc: www-style@w3.org, public-i18n-core@w3.org
On Friday 08 September 2006 17:57, Richard Ishida wrote: > Suppose my stylesheet says that where I have dir="rlo" I apply a bidi > override to my (say) XHTML2 text. You mean the style sheet has the following? [dir=rlo] { unicode-bidi: bidi-override } > > CSS 2 says: Forget about the old CSS2 Rec. It is progressively being obsoleted first by the revised edition ("CSS 2.1") and then by the various CSS3 modules as they arrive. (Unfortunately, CSS 2.1 is still a WD, but in practice it has much fewer bugs than the old Rec.) > CSS 2.1 says: > > "For inline-level elements this creates an override. For block-level, > table-cell, table-caption, or inline-block elements this creates an > override for inline-level descendents not within another block-level, > table-cell, table-caption, or inline-block element." > > Does that mean that only the text "Inline only text." in this example > below actually has the bidi algorithm overridden? > > <div dir="rlo">Inline only text. > <p>Some text in a block.</p> > <p>Some more text.</p> > </div> Correct. (Under the assumption that the Ps are block-level, which they normally are.) Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Friday, 8 September 2006 16:53:38 UTC