Summary: | [margin-trim] Self collapsing children have incorrect top offset at the end of a block container with block-end margin trim | ||||||
---|---|---|---|---|---|---|---|
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 | ||||||
Attachments: |
|
Pull request: https://github.com/WebKit/WebKit/pull/11339 Committed 261750@main (b9ee985deec4): <https://commits.webkit.org/261750@main> Reviewed commits have been landed. Closing PR #11339 and removing active labels. |
Created attachment 465385 [details] Testcase When margin-trim: block-end is specified on a block container, any self collapsing children will have the wrong offset. They get an offset as if none of the block-end margins were trimmed even though the block container has the correct after margin (i.e. the block-container only uses the block-end margin specified on the container itself or 0 if it is not specified).