Bug 249208
| Summary: | [margin-trim] Implement margin-trim for flex 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 flex containers specifically, margin-trim discards
- the corresponding margin of each flex item on the closest flex line when trimming an edge parallel to the main axis
- the corresponding margin of the first/last flex item on each flex line when trimming an edge parallel to the cross axis
- This process ignores any collapsed flex items.
https://w3c.github.io/csswg-drafts/css-box-4/#margin-trim-flex
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103285847>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/8166
EWS
Committed 258563@main (0efe67f528eb): <https://commits.webkit.org/258563@main>
Reviewed commits have been landed. Closing PR #8166 and removing active labels.