WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
35787
Display of vertical-align: baseline in table with input fields
https://bugs.webkit.org/show_bug.cgi?id=35787
Summary
Display of vertical-align: baseline in table with input fields
Joe Holdcroft
Reported
2010-03-05 02:57:21 PST
When setting veritcal-align: baseline; on table cells, and including a label in a cell then next to it an input for that label in the next cell, if the value of the input it set to nothing, or not set, there is excess spacing added around the input which makes the label appear lower down. See this simple test case for further detail:
http://joeholdcroft.com/webkit-form-table-bug/
Attachments
Add attachment
proposed patch, testcase, etc.
Lars-Erik Bruce
Comment 1
2017-06-06 03:41:06 PDT
Seven years later, and this is still a bug in Safari. I have a small reproduction of the bug here:
https://jsfiddle.net/lebbe/mao4cmfL/
No other browsers have this odd behaviour when combining vertical-align: baseline on table cells, with display: block in input elements inside the table cell.
Brent Fulgham
Comment 2
2022-07-11 17:05:50 PDT
This continues to be a problem 5 years after Lars-Erik's note (12 years!)
Radar WebKit Bug Importer
Comment 3
2022-07-11 17:06:01 PDT
<
rdar://problem/96851436
>
bart
Comment 4
2024-06-23 23:36:18 PDT
See also
https://bugs.webkit.org/show_bug.cgi?id=142968
which talks of the same bug appearing in a flex context.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug