Bug 194192

Summary: margin of a child is not collapsed at the end of a height:100% element
Product: WebKit Reporter: Xidorn Quan <xidorn-webkit>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, emilio, simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase none

Xidorn Quan
Reported 2019-02-02 06:09:30 PST
Created attachment 360977 [details] testcase Open the attached testcase. The margin should be outside the box due to margin collapse. This happens when the container has height:100%, but doesn't when it's height:auto. Per spec, it doesn't make sense. This is filed as a webcompat issue to Firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=1524656 I have also filed a bug to Blink: https://bugs.chromium.org/p/chromium/issues/detail?id=928027
Attachments
testcase (353 bytes, text/html)
2019-02-02 06:09 PST, Xidorn Quan
no flags
Brent Fulgham
Comment 1 2022-07-01 15:48:54 PDT
We match Chrome behavior in macOS 13 (and probably previous to that).
Note You need to log in before you can comment on or make changes to this bug.