Vertical-align baseline on BUTTON
Reported by
clement....@gmail.com,
Feb 8 2017
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:51.0) Gecko/20100101 Firefox/51.0 Steps to reproduce the problem: 1. Add a button with 2 or more lines, and some text in a list-item (ol-li or ul-li). What is the expected behavior? Button should understand "vertical-align: baseline" the same way textarea or img do (same way Firefox or Internet Explorer do too) What went wrong? The vertical-align: baseline of a button looks as if it is set to bottom. On multiple lines, the button is aligned to the baseline of the FIRST line, not the LAST one (as Firefox or Internet Explorer do). Compare with an "img + text" or a "textarea + text" in an ul-li; both stick to the first line (vertical-align baseline by default). Shoud be the same for button. Did this work before? N/A Chrome version: Google Chrome 56.0.2924.87 (Build officiel) (64 bits) Channel: n/a OS Version: Flash Version:
,
Feb 8 2017
,
Feb 8 2017
Woulds you mind providing a sample html testcase for the ease of triaging.
,
Feb 9 2017
Here a test case for the issue mentioned here.
,
Feb 9 2017
Rendering from left to right: Safari, Firefox and Chrome
,
Feb 10 2017
Actually, same problem with a button in a simple text. Code : lorem ipsum dolor <button>Button <br> set on <br> three lines</button> sit amet et consectetuer
,
Feb 10 2017
,
Feb 13 2017
,
Feb 14 2017
,
Feb 14 2017
,
Feb 16 2017
The <button> behavior is not same as multi-line <div style="display:inline-block">, and not compatible with Firefox and Edge. We should fix this.
,
Feb 16 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 20 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by clement....@gmail.com
, Feb 8 2017