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

[csswg-drafts] [css-overflow] Should `overflow-clip-margin` take percentages? (#5130)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 29 May 2020 02:14:52 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-626948057-1590718491-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] Should `overflow-clip-margin` take percentages? ==
When we resolved in #4934 to introduce `overflow-clip-margin`, we did not discuss whether it should take a `<length>` or a `<length-percentage>`.

`margin` takes a `<length-percentage>`, but [the new spec text](https://drafts.csswg.org/css-overflow-3/#overflow-clip-margin) defines `overflow-clip-margin` to take a `<length>`. We didn't discuss that point. On the one hand, analogy with `margin` would suggest `<length-percentage>`. On the other hand, `overflow-clip-margin` is mainly expected to be used to account for things like shadows and outlines, which do not take percentages. I'm leaning towards leaving it as a `<length>`, but not 100% sure, and we didn't discuss.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5130 using your GitHub account
Received on Friday, 29 May 2020 02:14:53 UTC

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