Intent to Prototype: Margin-trim

16 views
Skip to first unread message

Morten Stenshorne

unread,
4:46 AM (2 hours ago) 4:46 AM
to blink-dev
Contact emails
mste...@chromium.org

Specification
https://drafts.csswg.org/css-box-4/#margin-trim

Summary
The `margin-trim` CSS property may be used to omit margins before or after the first or last child of a container. This is supported on regular block containers, in addition to flex, grid, and multicol containers. https://drafts.csswg.org/css-box-4/#margin-trim This is somewhat similar to the effect caused by the margin quirk that is applied to P, H1, H2... elements inside BODY and table cell elements (in quirks mode), but more powerful, generic, and expressive.

Blink component
Blink>Layout

Web Feature ID
margin-trim

Motivation
No information provided

Initial public proposal
No information provided

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/40886857

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5197863732772864?gate=5929428263763968
Reply all
Reply to author
Forward
0 new messages