New issue
Advanced search Search tips

Issue 894849 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

<button> baseline is wrong when it has display:inline-block

Project Member Reported by mpalmg...@mozilla.com, Oct 12

Issue description

Chrome Version: 71.0.3569.0 (Official Build) dev (64-bit)
OS: Linux

What steps will reproduce the problem?
(1)load the attached testcase
(2)
(3)

What is the expected result?
For the inline-block cases (the first two tests) the following characters
should be baseline-aligned: X c c
For the inline-grid/flex cases the following characters
should be baseline-aligned: X a a

What happens instead?
The inline-block tests aligns: X a c
(IOW, the first-baseline of the button is used when it should have used
the last-baseline)
The inline-grid/flex tests displays correctly, please don't break those
when you fix this.

(see Firefox for correct results)
 
Chrome-bug-button-baseline.html
1.3 KB View Download
Components: Blink>Layout
Owner: kojii@chromium.org
Status: Assigned (was: Untriaged)
Cc: tkent@chromium.org
Looks like the spec discussion is going on at:
https://github.com/whatwg/html/issues/4081

Is this a minimized case from some real sites? Appreciated if you could note the site URL if so, fo the verification purposes.
Components: Blink>Forms>Button
I wrote a wpt for this as part of https://github.com/web-platform-tests/wpt/pull/14824

Sign in to add a comment