- From: Gérard Talbot <www-style@gtalbot.org>
- Date: Thu, 29 Jul 2010 21:53:06 -0700
- To: www-style@w3.org
Hello all, Does an empty floated element with a set width occupy an horizontal space on a line? Testcase: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/floats-107-gt.html According to Ian Hickson, div#zero-height-first-float should occupy an horizontal space (6em) on the line... but all mainstream browsers (IE8, Firefox 3.6.8, Opera 10.60, Chrome 5.0, Safari 5.0, Konqueror 4.4.5) do not allocate an horizontal space to that div#zero-height-first-float . Now, I can not find where it would say in the spec that such horizontal space should not be allocated to that div#zero-height-first-float. This was the original idea of Ian Hickson's test (floats-107.htm [1]) until it was decided to remove such test (for other reasons) from the CSS 2.1 test suite. I think it would be best to establish if an empty floated element with a set width is supposed to occupy an horizontal space on a line to begin with according to the spec (and where in the spec). [1]: http://test.csswg.org/suites/css2.1/20100727/html4/floats-107.htm regards, Gérard -- CSS 2.1 Test suite beta 2 (July 27th 2010) http://test.csswg.org/suites/css2.1/20100727/html4/toc.html Contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ Web authors' contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Friday, 30 July 2010 19:42:05 UTC