LGTM1

On 8/18/26 4:15 a.m., Morten Stenshorne wrote:
*Contact emails*
[email protected]

*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 and multicol containers. Note: A previous version of the spec also applied this for flex and grid containers, but this has been removed. https://drafts.csswg.org/css-box-4/#margin-trimThis 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 <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ELayout%22>

*Web Feature ID*
margin-trim <https://webstatus.dev/features/margin-trim>

*Motivation*
/No information provided/

*Initial public proposal*
/No information provided/

*TAG review*
/No information provided/

*TAG review status*
Not applicable

*Goals for experimentation*
None

*Risks*


*Interoperability and Compatibility*
/No information provided/

/Gecko/: Positive (https://bugzilla.mozilla.org/show_bug.cgi?id=1506241) Mozilla are actively working on implementing this feature.

/WebKit/: Shipped/Shipping (https://webkit.org/blog/16854/margin-trim)

/Web developers/: No signals

/Other signals/:

*WebView application risks*

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

/No information provided/


*Debuggability*
/No information provided/

*Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?*
Yes

*Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?*
Yes
https://wpt.fyi/results/css/css-box/margin-trim?label=experimental&label=master&aligned <https://wpt.fyi/results/css/css-box/margin-trim?label=experimental&label=master&aligned>

*Flag name on about://flags*
/No information provided/

*Finch feature name*
MarginTrim

*Rollout plan*
Will ship enabled for all users

*Requires code in //chrome?*
False

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

*Estimated milestones*
Shipping on desktop     155
Shipping on Android     155
Shipping on WebView     155



*Anticipated spec changes*

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

/No information provided/

*Link to entry on the Chrome Platform Status*
https://chromestatus.com/feature/5197863732772864?gate=6474161734156288

*Links to previous Intent discussions*
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKWZFm4REgNxwYFjJTZw-fUnxc1NGk2naOevLZCzOqLdL8eQBw%40mail.gmail.com


This intent message was generated by Chrome Platform Status <https://chromestatus.com/>.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKWZFm7L4F0gbsA2_2v1gYOmJ4pR%3DT31iV5-PxTh6BF1UUTj9Q%40mail.gmail.com <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKWZFm7L4F0gbsA2_2v1gYOmJ4pR%3DT31iV5-PxTh6BF1UUTj9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/98f042de-6722-4441-abbf-6eb6c912c47c%40chromium.org.

Reply via email to