Re: [csswg-drafts] [css-margin-block-start] Margin-block-start takes hidden elements into account causing empty space (#7480)

What do you mean "takes hidden elements into account"? `<template>` has `display: none` by default, so it's not laid out. And if you set `display: block`, the margin will typically collapse thru.

Getting empty space is normal since you are adding some margin? If you want margins between siblings but not before the 1st box, there is [`margin-trim: block-start`](https://drafts.csswg.org/css-box-4/#margin-trim).

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


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

Received on Sunday, 10 July 2022 20:38:40 UTC