[Webkit-unassigned] [Bug 193346] New: [LFC][BFC][MarginCollapsing] Adjust vertical position when box margin collapses through.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 10 21:41:37 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193346
Bug ID: 193346
Summary: [LFC][BFC][MarginCollapsing] Adjust vertical position
when box margin collapses through.
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: zalan at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
https://www.w3.org/TR/CSS22/box.html#collapsing-margins
If the top and bottom margins of a box are adjoining, then it is possible for margins to collapse through it. In this case, the position of the element depends on its relationship with the other elements whose margins are being collapsed.
If the element's margins are collapsed with its parent's top margin, the top border edge of the box is defined to be the same as the parent's.
Otherwise, either the element's parent is not taking part in the margin collapsing, or only the parent's bottom margin is involved. The position of the element's top border edge is the same as it would have been if the element had a non-zero bottom border.
--
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/20190111/6db56b67/attachment.html>
More information about the webkit-unassigned
mailing list