WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
252062
[margin-trim] Implement margin-trim for legacy inline layout
https://bugs.webkit.org/show_bug.cgi?id=252062
Summary
[margin-trim] Implement margin-trim for legacy inline layout
Sammy Gill
Reported
2023-02-10 10:22:31 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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-10 10:22:58 PST
<
rdar://problem/105283580
>
Sammy Gill
Comment 2
2023-02-10 12:00:20 PST
Pull request:
https://github.com/WebKit/WebKit/pull/9938
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug