Open
Bug 185672
Opened 23 years ago
Updated 3 years ago
colspan ="0" should stop at colgroup boundaries
Categories
(Core :: Layout: Tables, defect, P3)
Core
Layout: Tables
Tracking
()
NEW
Future
People
(Reporter: bernd_mozilla, Unassigned)
Details
(Keywords: html4, testcase)
Attachments
(1 file, 1 obsolete file)
684 bytes,
text/html
|
Details |
quote from html 4.0.1
This attribute specifies the number of columns spanned by the current cell. The
default value of this attribute is one ("1"). The value zero ("0") means that
the cell spans all columns from the current column to the last column of the
column group (COLGROUP) in which the cell is defined.
http://lxr.mozilla.org/seamonkey/source/layout/html/table/src/nsCellMap.cpp#2138
seems to be wrong
PRInt32 endColIndex = (0 == cell->GetColSpan()) ? numColsInTable - 1 :
aColIndex + cellColSpan - 1;
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 2•22 years ago
|
||
Also wrong when no colgroup is specified. The default colgroup spans the whole
table.
Comment on attachment 130484 [details]
Test case without colgroup fails too.
the testcase is invalid, 0 col and rowspans dont work in quirks mode. Use a
strict doctype and it will work
Attachment #130484 -
Attachment is obsolete: true
Comment 4•22 years ago
|
||
*** Bug 227702 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Assignee: layout.tables → nobody
QA Contact: amar → layout.tables
This bug will change once we do what http://dev.w3.org/html5/spec/Overview.html#attr-tdth-colspan requires. To remove the 0 colspans entirely
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•