html-attribute-001 invalid

http://test.csswg.org/suites/css2.1/20101001/html4/html-attribute-001.htm
http://test.csswg.org/suites/css2.1/20101001/xhtml1/html-attribute-001.xht
is an invalid test.

The align attribute on the caption element doesn't map to the
text-align property; it maps to the caption-side property.  Last I
checked, Gecko is the only major browser to implement the left and
right values for caption-side (present in CSS 2.0 and, in the align
attribute, HTML4).  With side captions and a 100%-width table, the
width of the caption ends up shrinking quite small, pushing it to
break lines and way off to the left/right depending on the side of
the caption.

I think the test should be changed to test the align attribute on an
element such as p or div.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 15 October 2010 22:37:24 UTC