Bug 253679

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 RenderingAssignee: 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:
Description Flags
Testcase none

Sammy Gill
Reported 2023-03-09 15:37:05 PST
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).
Attachments
Testcase (1002 bytes, text/html)
2023-03-09 15:37 PST, Sammy Gill
no flags
Radar WebKit Bug Importer
Comment 1 2023-03-09 15:37:28 PST
Sammy Gill
Comment 2 2023-03-09 17:31:06 PST
EWS
Comment 3 2023-03-16 10:46:52 PDT
Committed 261750@main (b9ee985deec4): <https://commits.webkit.org/261750@main> Reviewed commits have been landed. Closing PR #11339 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.