Re: [CSS2.1] Clarifying 8.3.1 Collapsing Margins

Le Mer 18 août 2010 1:11, fantasai a écrit :
> This is for CSS2.1 Issue 159
>    http://wiki.csswg.org/spec/css2.1#issue-159
> triggered by this email
>    http://lists.w3.org/Archives/Public/www-style/2010Feb/0015.html
>
> This is version 2.


[snipped]


>   |       - bottom margin of a last in-flow child and bottom margin
>   |         of its parent iff the parent has 'auto' height


s/iff/if/

[snipped]


>   |   * If the top and bottom margins of an element with clearance are
>   |     adjoining, its margins collapse with the adjoining margins of
>   |     subsequent siblings but that resulting margin does not collapse
>   |     with the bottom margin of the parent block.


s/subsequent/following/

see
http://lists.w3.org/Archives/Public/www-style/2010Aug/0183.html

[snipped]


>   |   * The bottom margin of an in-flow block element with a
>   |     'height' of 'auto' collapses with its last in-flow block-level
>   |     child's bottom margin if the element has no bottom padding or
>   |     border.


I'm risking this suggestion here:

s/no bottom padding or border/no bottom padding and no bottom border/

just to eliminate a potential source of confusion, just to eliminate an
hesitation in the mind.


regards, Gérard
-- 
CSS 2.1 Test suite beta 3 (August 15th 2010)
http://test.csswg.org/suites/css2.1/20100815/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 Wednesday, 18 August 2010 19:33:20 UTC