W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Nov 2020 19:00:58 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-740997672-1605121257-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC