[Webkit-unassigned] [Bug 187413] New: WebKit is inconsistent on baseline alignment of elements with non-default "overflow" value (depending on whether scrollbars are present)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 6 14:37:20 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187413
Bug ID: 187413
Summary: WebKit is inconsistent on baseline alignment of
elements with non-default "overflow" value (depending
on whether scrollbars are present)
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
Created attachment 344456
--> https://bugs.webkit.org/attachment.cgi?id=344456&action=review
testcase 1
STR:
1. Load attached testcase.
2. Look at the positioning of the "abc" text.
ACTUAL RESULTS:
In the top "short content" case, abc is baseline-aligned with the text inside the black box.
In the bottom "tall content" case, abc is basleine-aligned with the border-bottom of the black box.
EXPECTED RESULTS:
These cases should behave the same.
Interoperability (and perhaps some spec text) suggest that the latter behavior (using the border-bottom for baseline alignment) is the correct behavior -- that's what Firefox, Chrome, and Edge do here.
NOTE: the two cases in this testcase are *identical*, aside from the fact that there's some taller content in the lower one. Both of them involve an "overflow:auto;display:inline-block" element, which we're trying to baseline-align with some "abc" text.
I'm testing with Safari 11.1 on Mac OS High Sierra.
--
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/0736149c/attachment.html>
More information about the webkit-unassigned
mailing list