Bug 249210
Summary: | [margin-trim] Implement margin trim for grid containers | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
Component: | Layout and Rendering | Assignee: | Sammy Gill <sgill26> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sammy Gill
For grid containers specifically, margin-trim discards the corresponding margin of each grid item in the grid track adjacent to the relevant box edge.
This process ignores any collapsed grid tracks. It does not otherwise ignore any empty grid tracks.
https://w3c.github.io/csswg-drafts/css-box-4/#margin-trim-grid
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103285873>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/8220
EWS
Committed 258587@main (e8f3117677da): <https://commits.webkit.org/258587@main>
Reviewed commits have been landed. Closing PR #8220 and removing active labels.