W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > January to March 2010

Re: bidi proposal

From: Simon Montagu <smontagu@smontagu.org>
Date: Wed, 17 Mar 2010 22:48:02 +0200
Message-ID: <4BA14002.60104@smontagu.org>
To: "Aharon (Vladimir) Lanin" <aharon@google.com>
Cc: public-i18n-bidi@w3.org
On 03/17/2010 04:05 PM, Aharon (Vladimir) Lanin wrote:

> If I remember correctly, all browsers until very recently treated text in a
> <div style="display:inline">  as if it were in a<span>. I now see that
> Firefox 3.6 has indeed broken ranks and is now treating it as if it were a
> <span style="unicode-bide:embed">.I am not sure what the rationale for this
> is.

The rationale was that is is what the HTML 4 spec says, at 
http://www.w3.org/TR/REC-html40/struct/dirlang.html#style-bidi:

"When a block element that does not have a dir attribute is transformed 
to the style of an inline element by a style sheet, the resulting 
presentation should be equivalent, in terms of bidirectional formatting, 
to the formatting obtained by explicitly adding a dir attribute 
(assigned the inherited value) to the transformed element."

See https://bugzilla.mozilla.org/show_bug.cgi?id=503957 for the history.

> IMO, using unicode-bidi:embed without specifying direction, i.e.
> defaulting to the parent's direction, is a technique in search of a purpose.

I'm not sure what you're saying here. Is that good or bad?
Received on Wednesday, 17 March 2010 20:48:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 March 2010 20:48:38 GMT