[Webkit-unassigned] [Bug 183029] New: Safari's intrinsic inline-size calculations don't account for nonzero margins on empty children
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 21 23:28:02 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=183029
Bug ID: 183029
Summary: Safari's intrinsic inline-size calculations don't
account for nonzero margins on empty children
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dholbert at mozilla.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
STR: Load https://jsfiddle.net/sjap2xxw/
EXPECTED RESULTS: No space between "aaa" and its bottom border.
ACTUAL RESULTS: There's a blank line between "aaa" and its bottom border.
Note: Compare to the second "bbb" example in the testcase (which does not wrap) -- that example only differs from the first example in that we've added some text inside the span. So, this seems to be an issue where Safari is incorrectly disregarding the (nonzero) width of empty children's margin-boxes when it computes the intrinsic inline-size of a container.
Firefox 60 and Edge 16 produce "EXPECTED RESULTS" on that testcase, BTW.
Chrome 66 and Safari 11 produce "ACTUAL RESULTS".
Chrome version of this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=814610
--
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/20180222/e2b54061/attachment.html>
More information about the webkit-unassigned
mailing list