[Webkit-unassigned] [Bug 192214] New: [LFC][BFC][MarginCollapsing] Do not use computed display box values for border and padding
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 29 21:11:32 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192214
Bug ID: 192214
Summary: [LFC][BFC][MarginCollapsing] Do not use computed
display box values for border and padding
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
they are not computed yet when we are trying to estimate margin top values. try to survive with the non-computed values.
<body><div style="float: left"></div><div><div style="margin-top: 10px">foobar</div></div>
when the floating box is placed, we need to know its final vertical position. We estimate margin tops all the way to the formatting context root. To computer margin-top for the <body>, we actually have to know if that nested div's margin gets collapsed all the way up. To find it out we need to know padding and border values. Unfortunately at the time when the float is placed we don't yet have that information.
--
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/20181130/613665ec/attachment.html>
More information about the webkit-unassigned
mailing list