[csswg-drafts] [css-sizing-4] Add `margin-box` for box-sizing? (#5715)

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

== [css-sizing-4] Add `margin-box` for box-sizing? ==
There exist some use cases for `margin-box` sizing. Do we want to add this as a keyword to `box-sizing` and/or allow the sizing properties to take a `*-box` keyword to indicate which box to apply to? That would avoid authors having to manually "back out" their margins for e.g. image+margin = 100vh or float+margin = 50% of containing block.

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


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

Received on Wednesday, 11 November 2020 19:00:59 UTC