Closed
Bug 1097999
Opened 11 years ago
Closed 11 years ago
rowspan=0 keeps next row in current row
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: brandon, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141013200257
Steps to reproduce:
Create a 2-row table with `rowspan=0` set on all cells in the first row.
Actual results:
Row 1 and 2 both appear in the first row.
Expected results:
Row 1 and 2 should appear in separate rows (to match Chrome/IE).
| Reporter | ||
Comment 1•11 years ago
|
||
Reftest for correct(? at least matching IE/Chrome) behavior.
Comment 2•11 years ago
|
||
Per spec, rowspan="0" means "span to the end of the rowgroup". See https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-rowspan
So in this case, the rendering should be identical to the rendering of:
<!DOCTYPE html>
<table>
<tr><td rowspan="2">Foo</td></tr>
<tr><td>Foo</td></tr>
</table>
which is what you see in Firefox. Note that the second "Foo" is not actually in the first row; it's offset by the default dimensions of the implied second cell in the first row. Sounds like Chrome and IE are just getting this wrong; please do file bugs on them.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•11 years ago
|
||
Ah, sorry about that. Will do. Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•