RESOLVED FIXED 249207
[margin-trim] Implement margin trims for floats within block containers that establish block formatting context
https://bugs.webkit.org/show_bug.cgi?id=249207
Summary [margin-trim] Implement margin trims for floats within block containers that ...
Sammy Gill
Reported 2022-12-12 22:28:10 PST
It also affects floats for which the block container is a containing block by: - Discarding the block-start margin of any float whose block-start outer edge coincides with the block-start inner edge of the container. - Discarding the inline-start/inline-end margin of an inline-start/inline-end float (or equivalent) whose outer edge on that side coincides with the inner edge of the container. - Zeroing the inline-axis margins of a float for the purpose of calculating its intrinsic size contributions or its size in the container’s inline axis. - Trimming the block-end margins of a float to the extent necessary to prevent such a margin from extending the block size of a block formatting context root. https://w3c.github.io/csswg-drafts/css-box-4/#margin-trim-block
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-12 22:29:45 PST
Sammy Gill
Comment 2 2023-01-24 22:27:51 PST
Sammy Gill
Comment 3 2023-01-25 16:48:18 PST
EWS
Comment 4 2023-02-15 10:29:05 PST
Committed 260318@main (f679766e27a1): <https://commits.webkit.org/260318@main> Reviewed commits have been landed. Closing PR #8910 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.