[Webkit-unassigned] [Bug 187416] New: WebKit is is inconsistent on whether "overflow:scroll; display: inline-*" can determine baseline from its contents
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 6 14:45:43 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187416
Bug ID: 187416
Summary: WebKit is is inconsistent on whether "overflow:scroll;
display: inline-*" can determine baseline from its
contents
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:
(1) Visit https://jsfiddle.net/06wxgroy/
EXPECTED RESULTS:
Consistent baseline-alignment between the 3 cases there.
ACTUAL RESULTS:
For the first case (inline-block), Safari aligns "abc" with the bottom of the scrollable box's border.
For the second and third case (inline-flex & inline-grid), Safari aligns "abc" with the first line of text inside the scrollable box.
I'm not aware of any spec support for treating inline-flex and inline-grid differently from inline-block here.
For reference: Edge, Chrome, and Safari/WebKit happen to all be in agreement on this (with WebKit having bug 187413 as an extra quirk), while Firefox treats all three boxes the same (using the bottom of the scrollable box's border). We (Mozilla) received a bug report about this ( https://bugzilla.mozilla.org/show_bug.cgi?id=1471942 ) but I think the Firefox behavior seems most coherent, hence filing this bug.
I filed https://bugs.chromium.org/p/chromium/issues/detail?id=860820 for this issue in Chrome, too, BTW.
(Note: bug 187413 is related but distinct. That bug is specifically about "inline-block" being inconsistent, depending on the presence/absence of scrollbars. Whereas, this bug here is about inconsistency between inline-{block,flex,grid} when scrollbars are present.)
--
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/20180706/90cd0b35/attachment.html>
More information about the webkit-unassigned
mailing list