[Webkit-unassigned] [Bug 19338] Colspanning cells with large minimum widths force their starting column to the same minimum width, rather than the set of spanned columns

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 16:46:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=19338


Tab Atkins <tabatkins at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|background image of <td>    |Colspanning cells with
                   |repeating few times because |large minimum widths force
                   |of width in percentage of   |their starting column to
                   |<td>                        |the same minimum width,
                   |                            |rather than the set of
                   |                            |spanned columns
             Status|UNCONFIRMED                 |NEW
                 CC|                            |tabatkins at google.com
     Ever Confirmed|0                           |1




--- Comment #3 from Tab Atkins <tabatkins at google.com>  2011-10-20 16:46:21 PST ---
This is a real bug, and after some digging, I've uncovered the root cause.  You can find an actually reduced testcase at the end of this comment.

The bug is that the min-width of a colspanning cell constrains the width of normal cells in the same column, rather than constraining the width of the *set* of columns that the cell spans across.

Firefox correctly makes the colspan only constrain the set of columns.

Reduced testcase:

<!DOCTYPE html>
<table width="100%">
  <tr>
      <td width=100>My size is weird!</td>
      <td width=100%></td>
  </tr>
  <tr>
    <td colspan="2">
      <pre>I'm some long non-breaking text in a colspanning cell, and I stretch the first cell in the previous row!</pre>
    </td>
  </tr>
</table>
<style>
td { border: thin solid gray; }
</style>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list