Bug 35787 - Display of vertical-align: baseline in table with input fields
Summary: Display of vertical-align: baseline in table with input fields
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://joeholdcroft.com/webkit-form-t...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 02:57 PST by Joe Holdcroft
Modified: 2017-06-06 03:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Holdcroft 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/
Comment 1 Lars-Erik Bruce 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.