[Webkit-unassigned] [Bug 285415] New: colspan=0 and rowspan=0 do not behave the same way for rendering in all browsers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 6 00:19:12 PST 2025
https://bugs.webkit.org/show_bug.cgi?id=285415
Bug ID: 285415
Summary: colspan=0 and rowspan=0 do not behave the same way for
rendering in all browsers
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
URL: https://codepen.io/webcompat/pen/dPbJGbm
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tables
Assignee: webkit-unassigned at lists.webkit.org
Reporter: karlcow at apple.com
CC: zalan at apple.com
Depends on: 185341
This is not really a bug on WebKit as this is happening on all browsers. It is more a rendering difference in between colspan and rowspan.
<b>simple table width border=1 / colspan=0</b>
<table border="1">
<tr><td colspan="0">A1</td></tr>
<tr><td>B1</td><td>B2</td><td>B3</td></tr>
<tr><td>C1</td><td>C2</td><td>C3</td></tr>
</table>
The cell rendering of A1 doesn't spread on all cells like it would do for colspan=3
rowspan=0 creates a joint space in both firefox/chrome (and in webkit after https://github.com/WebKit/WebKit/pull/38398) which is identical to a rowspan=n for a table of n rows.
On the other hand, colspan=0 is weird. It creates a square cell but doesn't really span it, it just removes the space remaining.
To see the difference of behavior in Safari, we need to wait the landing of Bug 185341
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=185341
[Bug 185341] rowspan="0" results in different table layout than Firefox/Chrome
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20250106/a9e847d8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list