- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Dec 2022 22:14:32 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-inline-3] Negative margins on inline boxes == Was just thinking about the question of margins on inline boxes, particularly negative margins, and there's a bit of a problem with how it's defined to work atm: Consider an inline element with a negative margin: ``` <span style="margin-block: -0.1em">set tight</span> ``` If we introduce another element, this prevents the margin from acting as expected: ``` <span style="margin-block: -0.1em">set <em>tight</em></span> ``` Generally we try to make sure adding unstyled inline elements has no effect on layout, so we need to do something to fix this, maybe propagating the negative margin to descendants somehow? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8182 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 December 2022 22:14:33 UTC