<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>35787</bug_id>
          
          <creation_ts>2010-03-05 02:57:21 -0800</creation_ts>
          <short_desc>Display of vertical-align: baseline in table with input fields</short_desc>
          <delta_ts>2025-09-11 15:48:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://joeholdcroft.com/webkit-form-table-bug/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joe Holdcroft">info</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bart</cc>
    
    <cc>bfulgham</cc>
    
    <cc>lars-erik</cc>
    
    <cc>lizmitchell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>196396</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Holdcroft">info</who>
    <bug_when>2010-03-05 02:57:21 -0800</bug_when>
    <thetext>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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315952</commentid>
    <comment_count>1</comment_count>
    <who name="Lars-Erik Bruce">lars-erik</who>
    <bug_when>2017-06-06 03:41:06 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882258</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-11 17:05:50 -0700</bug_when>
    <thetext>This continues to be a problem 5 years after Lars-Erik&apos;s note (12 years!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882259</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-11 17:06:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/96851436&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042712</commentid>
    <comment_count>4</comment_count>
    <who name="">bart</who>
    <bug_when>2024-06-23 23:36:18 -0700</bug_when>
    <thetext>See also https://bugs.webkit.org/show_bug.cgi?id=142968 which talks of the same bug appearing in a flex context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142120</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-09-10 07:59:54 -0700</bug_when>
    <thetext>It seems to not happen on Safari Technology Preview 227 but jump or shift happens on Safari 18.6 when we type text in second field. So I think we fixed it already in STP.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>