Summary: | "padding: 0; width: auto" on <td> elements causes the computed width to be 0 instead of flexible, with workaround | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Forster <webkitorg> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Minor | CC: | ahmad.saleem792, ap, hyatt, parag, rniwa, simon.fraser, thenarant, webkit-bug-importer, zalan | ||||
Priority: | P1 | Keywords: | InRadar | ||||
Version: | 525.x (Safari 3.2) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Alex Forster
2009-12-06 21:37:18 PST
The reason behind this difference what i figured it out is firefox and webkit's table rendering algo differ's a bit, if the table's column width type is auto and is set to 0 they both don't allocate any width to that column but if all such auto width columns have 0 width than firefox redistributes the available width to all of them equally but webkit don't. If this is a valid bug, then i can start working on it. I turned the Zip file into JSFiddle as below: Link - https://jsfiddle.net/ny72pxqt/ I am still able to reproduce this bug using Safari 15.5 on macOS 12.4. All other browsers, Chrome Canary 104 and Firefox Nightly 103 works same. Thanks! |