- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 12 Nov 2011 16:26:27 -0800
- To: "Arron Eicholz" <arron.eicholz@microsoft.com>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron, [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/top-offset-003.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/top-offset-003.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/bottom-offset-001.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/bottom-offset-001.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/bottom-offset-003.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/bottom-offset-003.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/left-offset-003.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/left-offset-003.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/right-offset-001.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/right-offset-001.htm [RC6] http://test.csswg.org/suites/css2.1/20110323/html4/right-offset-003.htm [nightly-unstable] http://test.csswg.org/suites/css2.1/nightly-unstable/html4/right-offset-003.htm The above testcases (in their respective <meta> text assert) are creating a confusion with regards to what is a containing block. A containing block is just a rectangle used to position other boxes which are positioned (that is, having 'position' set to something other than 'static') and with a non-zero and non-auto top|left|bottom|right offset. A containing block is not a CSS box: so, it does not have a padding edge nor a content edge. A containing block is a rectangle: so, it has a left edge, a right edge, a bottom edge, a top edge, a width and a height. Nothing else. What those testcases' text assert could do better is defining what establishes, defines the containing block in each of those testcases and then link to or relate such definition to the offset. Eg. <meta name="assert" content="The 'top' property, for absolute positioning, specifies the offset of the element in relation to the containing block's top edge. The containing block of an absolutely positioned element is formed by the padding box of its nearest (closest) positioned ancestor element."> coming from http://test.csswg.org/suites/css2.1/20110323/html4/top-offset-001.htm regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 Test suite RC6, March 23rd 2011: http://test.csswg.org/suites/css2.1/20110323/html4/toc.html CSS 2.1 test suite harness: http://test.csswg.org/harness/ Contributing to to CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Sunday, 13 November 2011 00:27:02 UTC