W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

html-attribute-001 invalid

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 15 Oct 2010 15:36:56 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101015223656.GA9140@pickering.dbaron.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 October 2010 22:37:35 GMT