NEW 19338
Colspanning cells with large minimum widths force their starting column to the same minimum width, rather than the set of spanned columns
https://bugs.webkit.org/show_bug.cgi?id=19338
Summary Colspanning cells with large minimum widths force their starting column to th...
Calvin Anderson
Reported 2008-05-30 16:22:45 PDT
I Steps: Go to http://www.emlak.net/konut/kiralikdaire.html Scroll to the middle of the page. II Issue: layout issue on the heading bar of center columns III Conclusion: The issue is caused by the width in percentage of the 2nd <td> in the 1st row <td background="bg_fahne.gif" width="99%"></td> Safari applies more than 129px for the 1st row 1st column- which makes the background image render repeatedly. IV Other browsers: IE7 : Ok FF3 : Ok Opera : Ok V Nightly tested: 33029
Attachments
reduction.zip (2.15 KB, application/octet-stream)
2008-05-30 16:22 PDT, Calvin Anderson
no flags
WebKit ToT vs Other Browsers (243.62 KB, image/png)
2023-05-27 10:01 PDT, Ahmad Saleem
no flags
Calvin Anderson
Comment 1 2008-05-30 16:22:50 PDT
Created attachment 21442 [details] reduction.zip
Robert Blaut
Comment 2 2008-12-28 23:55:56 PST
*** Bug 21875 has been marked as a duplicate of this bug. ***
Tab Atkins
Comment 3 2011-10-20 16:46:21 PDT
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>
Ahmad Saleem
Comment 4 2023-05-27 10:01:54 PDT
Created attachment 466515 [details] WebKit ToT vs Other Browsers Took testcase from Comment 03 and changed it into JSFiddle: https://jsfiddle.net/n90foq21/show and as can be seen, WebKit still has this bug.
Radar WebKit Bug Importer
Comment 5 2024-02-08 15:48:05 PST
Note You need to log in before you can comment on or make changes to this bug.