[css-overflow] Implement `overflow-clip-margin`'s `visual-box` property support
Categories
(Core :: Layout: Scrolling and Overflow, enhancement)
Tracking
()
People
(Reporter: emilio, Assigned: dshin)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
It seems the css-overflow spec defines an overflow-clip-margin
property that complements overflow: clip
by basically inflating the clip rect.
Should be relatively straight-forward to implement.
Comment 2•4 years ago
•
|
||
See https://github.com/w3c/csswg-drafts/issues/5801 where the CSSWG resolved on adding the *-box
keywords (border-box
, padding-box
, content-box
) to this property (which will probably be reflected in the actual spec by the time someone implements this).
(fantasai says padding-box
would be the default behavior, and content-box
allows authors to get a different behavior that they sometimes want, as described in https://bugs.chromium.org/p/chromium/issues/detail?id=99364 - see motivating examples in the first comment there.)
Updated•4 years ago
|
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Note that there's currently an open CSSWG issue suggesting a possible change to the property name.
Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
FYI, support for the property with a <length>
value was added in bug 1769512.
Description
•