W3C home > Mailing lists > Public > www-style@w3.org > December 2012

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 14 Dec 2012 23:10:52 -0500
Message-ID: <c16e8ec972107053f81b9673e8921b8f.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Simon Sapin" <simon.sapin@kozea.fr>
Cc: "CSS 3 W3C Group" <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT