Width and height set on 'display: inline' elements in a few testcases

Hello,

http://test.csswg.org/suites/css2.1/20100815/html4/outline-applies-to-008.htm

http://test.csswg.org/suites/css2.1/20100815/html4/outline-style-applies-to-008.htm

width and height do not apply to 'display: inline' elements. While
setting those width and height properties in that manner is not (and
should not be) sufficient ground/reason to reject a testcase (testing
something entirely different: here, outline), I think it should be
formally discouraged as a coding practice.

"This [width] property does not apply to non-replaced inline-level
elements."
http://www.w3.org/TR/CSS21/visudet.html#the-width-property

"This [height] property does not apply to non-replaced inline-level
elements."
http://www.w3.org/TR/CSS21/visudet.html#the-height-property

http://www.w3.org/TR/CSS21/visudet.html#inline-width

http://www.w3.org/TR/CSS21/visudet.html#inline-non-replaced

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Wednesday, 15 September 2010 23:47:38 UTC