[Webkit-unassigned] [Bug 187416] 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
Tue Jul 10 09:21:47 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187416

Daniel Holbert <dholbert at mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Daniel Holbert <dholbert at mozilla.com> ---
tl;dr: Sorry for the trouble - looks like this is actually "Invalid".


Details: the spec text for display:inline-block;overflow:scroll is:
====
The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge.
====
https://www.w3.org/TR/CSS22/visudet.html#normal-block

I guess that is pretty specific to inline-block, and I just found this in the flexbox spec (and grid has a similar chunk):
====
When calculating the baseline according to the above rules, if the box contributing a baseline has an overflow value that allows scrolling, the box must be treated as being in its initial scroll position for the purpose of determining its baseline.
====
https://drafts.csswg.org/css-flexbox-1/#flex-baselines

So, I guess this is "invalid" and the specs *require* this inconsistency between inline-block vs. inline-flex/grid here (weird).

-- 
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/20180710/036cc28b/attachment.html>


More information about the webkit-unassigned mailing list