Invalid Error Message for HTML5 Validator - Colspan

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
syswriter
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Sun Nov 22, 2009 10:16 pm

Invalid Error Message for HTML5 Validator - Colspan

Post by syswriter » Tue Dec 11, 2012 2:11 pm

A page contains a table with <td .... colspan="7">.
The error message is "Table columns in range 2..7 established by element td have no cells beginning in them".
This error message does not understand what a colspan attribute does.

User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
Posts: 507
Joined: Sat Jun 13, 2009 12:38 pm
Contact:

Re: Invalid Error Message for HTML5 Validator - Colspan

Post by TopStyle Support » Tue Dec 11, 2012 2:40 pm

syswriter wrote:A page contains a table with <td .... colspan="7">.
The error message is "Table columns in range 2..7 established by element td have no cells beginning in them".
This error message does not understand what a colspan attribute does.
HTML 5 Draft: Section 4.9.12.1 Forming a table

http://dev.w3.org/html5/spec/attributes ... ng-a-table

Step 20: If there exists a row or column in the table containing only slots that do not have a cell anchored to them, then this is a table model error.

syswriter
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Sun Nov 22, 2009 10:16 pm

Re: Invalid Error Message for HTML5 Validator - Colspan

Post by syswriter » Sun Dec 16, 2012 12:41 pm

The error message is confusing. It should say:
"No other rows found with number of cells specified by colspan."

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3427
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Invalid Error Message for HTML5 Validator - Colspan

Post by Albert Wiersch » Sun Dec 16, 2012 3:58 pm

syswriter wrote:The error message is confusing. It should say:
"No other rows found with number of cells specified by colspan."
Don't forget TopStyle integrates with CSE HTML Validator & TopStyle licensees can buy it at a discount.
Image
Albert Wiersch

Post Reply