[Webkit-unassigned] [Bug 253679] New: [margin-trim] Self collapsing children have incorrect top offset at the end of a block container with block-end margin trim

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 9 15:37:05 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253679

            Bug ID: 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
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 465385

  --> https://bugs.webkit.org/attachment.cgi?id=465385&action=review

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230309/bf42ed61/attachment.htm>


More information about the webkit-unassigned mailing list