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

Re: [CSS21] [css3-writing-modes] We got the bidi box model backwards

From: Alan Gresley <alan@css-class.com>
Date: Thu, 12 May 2011 02:13:12 +1000
Message-ID: <4DCAB598.6040907@css-class.com>
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.


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>

Relevant CSS:

p {
   font-size: 200%;

p span {
   margin:0 5em;
   border: 2px solid red;
   border-left: 0.25em solid blue;
   border-right: 0.25em solid green;

Alan Gresley
Received on Wednesday, 11 May 2011 16:13:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC