[csswg-drafts] [css-box-model] Definition for collapsed margin has a little problem (#6720)

LasyIsLazy has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-box-model] Definition for collapsed margin has a little problem ==
The CSS2.2 definition from [here](https://www.w3.org/TR/CSS22/box.html#collapsing-margins):

> In CSS, the adjoining margins of two or more boxes (which might or might not be siblings) can combine to form a single margin. Margins that combine this way are said to collapse, and the resulting combined margin is called a collapsed margin.

Only two or more boxes can result to collapsed margin, but in fact, one box can also result to collapsed margin. 

See here:
> top and bottom margins of a box that does not establish a new block formatting context and that has zero computed 'min-height', zero or 'auto' computed 'height', and no in-flow children

I wonder if there is a problem in the description of 'two or more boxes'.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6720 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 11 October 2021 09:56:10 UTC