W3C home > Mailing lists > Public > public-html@w3.org > July 2007

HTMLTableColElement.span being limited to only positive non-zero numbers (detailed review of Semantics)

From: Simon Pieters <simonp@opera.com>
Date: Sun, 15 Jul 2007 20:11:53 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.tvip53r7idj3kv@hp-a0a83fcd39d2>

(This is part of my detailed review of the Semantics and structure of HTML  
elements section.)

The spec says about HTMLTableColElement.span:

    The span DOM attribute must reflect the content attribute of the same
    name, with the exception that on setting, if the new value is 0, then an
    INDEX_SIZE_ERR exception must be raised.

Shouldn't this say:

    The span DOM attribute must reflect the content attribute of the same
    name, limited to only positive non-zero numbers.

...? (In which case, it doesn't need a default value, either, two  
paragraphs above that one.)

This applies to these two sections:

    http://www.whatwg.org/specs/web-apps/current-work/#colgroup
    http://www.whatwg.org/specs/web-apps/current-work/#col

-- 
Simon Pieters
Opera Software
Received on Sunday, 15 July 2007 18:11:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT