Re: [CSS21] The 'clear' property on table wrappers.

Le Mar 5 juin 2012 11:11, Simon Sapin a écrit :
> Hi,
>
> Elements with 'display: table' generate two boxes: a table wrapper box
> and a table box.
>
> 17.4 explains how the computed values on the element are distributed to
> the two boxes:
>
>> The computed values of properties 'position', 'float', 'margin-*',
>> 'top', 'right', 'bottom', and 'left' on the table element are used on
>> the table wrapper box and not the table box; all other values of
>> non-inheritable properties are used on the table box and not the
>> table wrapper box.

[snipped]


> (...) list of properties that are used on the table wrapper box and not
> the table box. I just found that this is the case for 'clear' as well:
>
> If 'clear' is to have an effect, the table and its captions (if any)
> should stay together and not be separated by clearance.

With tomorrow's nightly-build:

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/clear-applies-to-016.htm

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/clear-applies-to-017.htm

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/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 Saturday, 15 December 2012 04:11:23 UTC