<br> as paragraph separator

The following is from Simon Montagu

---------- Forwarded message ----------

I have been implementing the proposed change of <br> to a bidi paragraph
separator. in Gecko. During testing I was surprised to discover that IE, at
least in "standards mode", seems to be making the reverse change.

In IE7, and IE8 and IE9 Beta in quirks mode, <br> is treated as a paragraph
separator. However, in IE8 and IE9 in standards mode, it is treated as a
line separator and does not end the bidi paragraph.

Even more surprisingly, in IE8 in standards mode, a line break in
preformatted text is also treated as a line separator. IE9 Beta has reverted
to treating it as a paragraph separator.

I also discovered strange behaviour in Safari 5.0.3: if a <br> or line break
in preformatted text is followed by a rtl embedding, e.g.
 <div>ltr RTL,<br><span dir="rtl">MORE RTL</span></div>
the comma at the end of the first line is rendered to the left of the rtl
text, as if there were another rtl character following it.

-- 
Simon Montagu
Mozilla internationalization
סיימון מונטגיו

Received on Wednesday, 15 December 2010 20:35:21 UTC