- From: Alan Gresley <alan@css-class.com>
- Date: Thu, 12 May 2011 02:13:12 +1000
- To: "Aharon (Vladimir) Lanin" <aharon@google.com>
- CC: CE Whitehead <cewcathar@hotmail.com>, fantasai <fantasai.lists@inkedblade.net>, W3C style mailing list <www-style@w3.org>, "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>, Simon Montagu <smontagu@smontagu.org>
On 11/05/2011 8:32 PM, Aharon (Vladimir) Lanin wrote: > What you suggest does sound more useful, but I do not consider myself an > authority on this. Isn't there a backwards compatibility problem with > changing the spec, though? > > Aharon >>> http://www.w3.org/TR/CSS21/box.html#bidi-box-model There is a backwards compatibility problem as well as current implementation problems. http://css-class.com/test/temp/rtl-inline-in-ltr.png I agree with Fantasai's proposal. I note that IE9 shows the behavior that she is proposing (bottom left in the screenshot). Safari shows some bazaar behavior (top left in the screenshot). Relevant HTML: <p>left to right left to right <span>left to right left to right left to right</span> left to right left to right.</p> <p>left to right left to right <span dir="rtl">משמאל לימין משמאל לימין משמאל לימין</span> left to right left to right.</p> </div> Relevant CSS: p { font-size: 200%; line-height:1.5; } p span { margin:0 5em; border: 2px solid red; border-left: 0.25em solid blue; border-right: 0.25em solid green; } -- Alan Gresley http://css-3d.org/ http://css-class.com/
Received on Wednesday, 11 May 2011 16:13:40 UTC