2.1.17 [HTML] Section 11.2.6, Table cells: The TH and TD elements

V0022:

The specification states:

 rowspan = number [CN] 
  
 This attribute specifies the number of rows spanned by the current cell. The 
 default value of this attribute is one ("1"). The value zero ("0") means that the 
 cell spans all rows from the current row to the last row of the table section 
 (THEAD, TBODY, or TFOOT) in which the cell is defined.

All Document Modes (All Versions)

If the rowspan attribute for a TD or TH element is specified with a value of 0, this value is ignored and a default value of 1 is used instead.

This causes the HTML4 Test Suite [W3C-HTML4-TS] "Test 11_2_6-BF-01 Table cells: The TH and TD elements" test case to fail. For more information about the failure, see section 3.2 in Appendix A: Test Case Failures.

Quirks Mode and IE7 Mode (All Versions)

Values for rowspan greater than 1000 will be ignored.

IE8 Mode (All Versions)

Values for rowspan greater than 1000 will cause the entire table to fail to render.

V0023:

The specification states:

 colspan = number [CN] 
  
 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.

All Document Modes (All Versions)

If the colspan attribute for a TD or TH element is specified with a value of 0 (zero), this value is ignored and a default value of 1 (one) is used instead.

This causes the HTML4 Test Suite [W3C-HTML4-TS] "Test 11_2_6-BF-01 Table cells: The TH and TD elements" test case to fail. For more information about the failure, see section 3.3 in Appendix A: Test Case Failures.

Quirks Mode and IE7 Mode (All Versions)

Values for colspan greater than 1000 will be ignored.

IE8 Mode (All Versions)

Values for colspan greater than 1000 will cause the entire table to fail to render.

V0024:

The specification states:

 width = length [CN] 
  
 Deprecated. This attribute supplies user agents with a recommended cell width.

All Document Modes (All Versions)

When a cell spanning multiple columns has content, the amount of content in the multi-column cell can increase the width of other cells in any of the spanned columns. For more information on table layout algorithms, see [MS-CSS21] section 2.1.86.

V0025:

The specification states:

 height = length [CN]
  
 Deprecated. This attribute supplies user agents with a recommended cell height.

All Document Modes (All Versions)

When a cell spanning multiple rows has content, the amount of content in the multi-row cell can increase the height of other cells in any of the spanned rows. For more information on table layout algorithms, see [MS-CSS21] section 2.1.86.

V0026:

The specification states:

 Attributes defined elsewhere
  
 * id, class (document-wide identifiers)
 * lang (language information), dir (text direction) 
 * title (element title) 
 * style (inline style information ) 
 * onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove,
  onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events ) 
 * align, char, charoff, valign (cell alignment).

All Document Modes (All Versions)

The attributes char and charoff are not supported. Additional attributes background, borderColor, borderColorDark, and borderColorLight are supported.