W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2011

bidi-004 and bidi-004a are broken

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Apr 2011 00:33:34 +0000 (UTC)
To: public-css-testsuite@w3.org
Message-ID: <Pine.LNX.4.64.1104192250110.25791@ps20323.dreamhostps.com>

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


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:


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:


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:


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:23 UTC