Open Bug 1661582 Opened 4 years ago Updated 2 years ago

[css-overflow] Implement `overflow-clip-margin`'s `visual-box` property support

Categories

(Core :: Layout: Scrolling and Overflow, enhancement)

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.

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.)

Depends on: 1769512
See Also: → 1779332
Assignee: nobody → dshin

Note that there's currently an open CSSWG issue suggesting a possible change to the property name.

Summary: [css-overflow] Implement overflow-clip-margin. → [css-overflow] Implement `overflow-clip-margin`'s `visual-box` property support

FYI, support for the property with a <length> value was added in bug 1769512.

You need to log in before you can comment on or make changes to this bug.