Re: [csswg-drafts] [css-multicol] Correct figures 10, 11 and 15 to use H2 standard font-size and margins and make margin belt of H2 element transparent

> the spanner has a background of silver

If the padding box has been painted silver, then why aren't there any vertical margins around (on top of and below) the h2 spanner? There should be a 19.92px (1.5 * 16px * 0.83) gap on top of and below the spanner (or a 1.5 * 18px * 0.83 == 22.41px gap on top of and below the spanner if the cascaded 1em font size is 18px).

If the margin box has been painted silver in the 3 examples and figures for illustration purposes, then that should be stated in the examples, otherwise it is source of confusion and misundertanding.

Margins are always transparent; both in CSS2.x and in CSS3 as well. You can not paint the margin belt of an element; even in CSS3, you can not paint the margin belt of an element. The background of other element (say, body element) behind an element shines through the margins of an element. 

Vertical margins of H2 element are by default 0.83em in all mainstream browsers.

No matter how I look at these examples, there is source of confusion and misunderstanding.

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

Received on Tuesday, 17 April 2018 04:12:13 UTC