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

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 15 Sep 2010 16:47:01 -0700
Message-ID: <795c4877d817c27f07defb366308a207.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT