Bug 249781 - [margin-trim] margin trim should discard margins that are collapsed with trimmed margins
Summary: [margin-trim] margin trim should discard margins that are collapsed with trim...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sammy Gill
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-22 09:33 PST by Sammy Gill
Modified: 2023-02-01 21:55 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sammy Gill 2022-12-22 09:33:35 PST
Note the final bullet point from the block container portion of the spec: 

For block containers specifically, margin-trim discards:

- The block-start margin of a block-level first child, when trimming at the block-start edge.
- The block-end margin of a block-level last child, when trimming at the block-end edge.
- Any margin collapsed with these margins.
Comment 1 Radar WebKit Bug Importer 2022-12-22 09:33:56 PST
<rdar://problem/103640784>
Comment 2 Sammy Gill 2023-01-24 17:00:10 PST
Pull request: https://github.com/WebKit/WebKit/pull/9085
Comment 3 EWS 2023-02-01 21:55:16 PST
Committed 259734@main (82ef68207e2f): <https://commits.webkit.org/259734@main>

Reviewed commits have been landed. Closing PR #9085 and removing active labels.