<?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>43092</bug_id>
          
          <creation_ts>2010-07-27 16:14:21 -0700</creation_ts>
          <short_desc>Table cell massively changes width when child gets hovered</short_desc>
          <delta_ts>2010-08-03 11:24:12 -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>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Brad">brkemper</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>256927</commentid>
    <comment_count>0</comment_count>
      <attachid>62767</attachid>
    <who name="Brad">brkemper</who>
    <bug_when>2010-07-27 16:14:21 -0700</bug_when>
    <thetext>Created attachment 62767
Reduced test case

This is a little hard to describe, so please see the test case attachment.

When: 
1) one row of the table contains a colspan, and 
2) another row has one or more cells with &apos;display:none&apos;, and 
3) an item in one of the visibly displayed cells has a :hover style that changes its geometry (by changing padding, width, etc.), 

then:
The non-hidden cell in the row that contains the hovered element will suddenly jump to a much smaller width if the table is 100% width. If the table is auto width, the colspan row jumps to be about twice the size of the other row. It then never goes back to its original width.

This test case was painstakingly reduced from a set of complex pages that exist in a production online banking Website at a credit union (a banking account is required in order to sign on to see it though). It only occurs in somewhat recent nightly builds, probably within the last week. It does not yet show up in the shipping version of Safari. It does pretty much ruin the layout of that site though, so I&apos;d classify it as pretty severe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259574</commentid>
    <comment_count>1</comment_count>
    <who name="Brad">brkemper</who>
    <bug_when>2010-08-03 11:24:12 -0700</bug_when>
    <thetext>It looks like this got fixed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>62767</attachid>
            <date>2010-07-27 16:14:21 -0700</date>
            <delta_ts>2010-07-27 16:14:21 -0700</delta_ts>
            <desc>Reduced test case</desc>
            <filename>table_cell_width_problem.html</filename>
            <type>text/html</type>
            <size>1090</size>
            <attacher name="Brad">brkemper</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCIgbGFuZz0i
ZW4tdXMiIHhtbDpsYW5nPSJlbi11cyI+CjxoZWFkPgoJPG1ldGEgaHR0cC1lcXVpdj0iY29udGVu
dC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIC8+Cgk8dGl0bGU+Y2Vs
bCB3aWR0aCB0ZXN0PC90aXRsZT4KCTxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyIgdGl0bGU9InRleHQv
Y3NzIiBtZWRpYT0iYWxsIj4KCQl0ZCB7IGJvcmRlcjoxcHggc29saWQgI2NjYzsgfQoJCXRkLmEg
eyBkaXNwbGF5Om5vbmU7fQoJCXRkLmIgeyBiYWNrZ3JvdW5kLWNvbG9yOm9yYW5nZTsgfQoJCWgy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