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 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT