Bug 32744

Summary: Table nested child table's column widths with nowrap
Product: WebKit Reporter: Brad Beattie <bradbeattie>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, pravind
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Two examples (one fails, one passes)
none
A screenshot identifying the oddity none

Brad Beattie
Reported 2009-12-18 14:47:13 PST
See attached test.html. Both instances should render identically. In the first example, the top right cell is wider than it should be.
Attachments
Two examples (one fails, one passes) (1.20 KB, text/html)
2009-12-18 14:47 PST, Brad Beattie
no flags
A screenshot identifying the oddity (138.25 KB, image/png)
2009-12-18 14:50 PST, Brad Beattie
no flags
Brad Beattie
Comment 1 2009-12-18 14:47:55 PST
Created attachment 45190 [details] Two examples (one fails, one passes)
Brad Beattie
Comment 2 2009-12-18 14:50:16 PST
Created attachment 45191 [details] A screenshot identifying the oddity
Brad Beattie
Comment 3 2010-01-20 10:29:57 PST
Not sure why the attachments aren't displaying anymore. Will just paste the source code. <html> <head> <style type="text/css"> table { width: 100%; } td { border: 2px solid #000; background: rgba(0,0,0,0.3); } </style> </head> <body> <h2>With nowrap</h2> <table> <tr> <td style="width: 100%">asdf</td> <td>asdf</td> </tr> <tr> <td colspan="2"> <table> <tr> <td>zxcv</td> <td style="white-space: nowrap;">zxcv zxcv zxcv zxcv</td> </tr> </table> </td> </tr> </table> <h2>Without nowrap</h2> <table> <tr> <td style="width: 100%">asdf</td> <td>asdf</td> </tr> <tr> <td colspan="2"> <table> <tr> <td>zxcv</td> <td>zxcv zxcv zxcv zxcv</td> </tr> </table> </td> </tr> </table> </body> </html>
Brad Beattie
Comment 4 2013-08-13 08:44:38 PDT
Confirmed that this bug still exists.
Ahmad Saleem
Comment 5 2023-03-20 18:48:50 PDT
I am able to reproduce this bug using attached test case and also changing the Comment 03 into following JSFiddle: Link - https://jsfiddle.net/947xyfub/show Our behavior is similar to reference image while Chrome Canary 113 and Firefox Nightly 113 match each other and in both instances of test.
Note You need to log in before you can comment on or make changes to this bug.