bidi-004 and bidi-004a are broken

In the HTML standard, <br> is now defined to be a bidi paragraph break:

   http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element
   http://www.w3.org/Bugs/Public/show_bug.cgi?id=10828

This means tests bidi-004 and bidi-004a of the CSS 2.1 test suite,
which use a <br> to break a line in a bidi context, are broken.

In 004, the change to fix the bug would be to remove the <br>s, to use
Ahem, and to change the "aaa", "bbb", "ccc", "ddd", etc, to be written
as binary using p and X instead of the alphabet to distinguish the
order, and then to make sure the width of the block is the right width
to cause wrapping. Here is the corrected test on my site:

   http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/004.html

I didn't write 004a so I'm not sure what it's testing or how to fix it.

It would be good to also add tests with <br>, to check that borders
get renderered correctly even when a bidi paragraph break occurs
half-way through a span. I've added this test to my site:

   http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/012.html

I've also added a variant of 004 that seems to find a bug in Firefox,
but it could be that I miscalculated the widths:

   http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/013.html

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 20 April 2011 00:34:02 UTC