Re: [csswg-drafts] [css-sizing-4] Should we mention aspect-ratio in margin collapsing? (#5328)

@BorisChiou Right - this should be treated as a non-empty block, and therefore margins don't "collapse through". However all the other standard margin collapsing rules apply.

For the 1st case it should be no different if the "child" had an explicit height of "100px" e.g. the parent gets a "top" margin of "50px", and a "bottom" margin of "200px".

For the 2nd case it should be no different if the "parent" had an explicit height of "100px" e.g. the parent gets a top margin of "200px" (due to collapsing through), and a bottom margin of "0px".

Do you disagree at all with above description?

Ian

-- 
GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5328#issuecomment-660581174 using your GitHub account

Received on Sunday, 19 July 2020 03:43:19 UTC