W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2008

[whatwg] several messages

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 23 Mar 2008 19:35:29 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0803231934330.12521@hixie.dreamhostps.com>
On Tue, 18 Mar 2008, Christoph P?per wrote:
> >
> > +  <h4>Attributes common to <code>td</code> and <code>th</code>
> > elements</h4>
> > 
> > +  <p>The <code>td</code> and <code>th</code> elements may have a <dfn
> > +  title="attr-tdth-colspan"><code>colspan</code></dfn> content
> > +  attribute specified, whose value must be a <span>valid non-negative
> > +  integer</span> greater than zero.
> 
> Isn't that the description of a valid positive integer? If that term is 
> not used or defined yet, why not?

Because "positive" is confusing to people. Some people (including me) 
think that 0 is positive.

> > +  <p>The <code>td</code> and <code>th</code> elements may also have a
> > +  <dfn title="attr-tdth-rowspan"><code>rowspan</code></dfn> content
> > +  attribute specified, whose value must be a <span>valid non-negative
> > +  integer</span>.
> 
> Why can |rowspan|, unlike |colspan|, be 0, but is then also normalised to 1?

It's not normalised to 1, is it? I don't understand.


On Wed, 19 Mar 2008, Michael Enright wrote:

> On Tue, Mar 18, 2008 at 2:23 PM, Christoph P?per
> <christoph.paeper at crissov.de> wrote:
> > > +  <h4>Attributes common to <code>td</code> and <code>th</code>
> >  > elements</h4>
> >  >
> >  > +  <p>The <code>td</code> and <code>th</code> elements may have a <dfn
> >  > +  title="attr-tdth-colspan"><code>colspan</code></dfn> content
> >  > +  attribute specified, whose value must be a <span>valid non-negative
> >  > +  integer</span> greater than zero.
> >
> >  Isn't that the description of a valid positive integer? If that term
> >  is not used or defined yet, why not?
> 
> The mathematical definitions of positive and negative integers exclude 
> zero, but the less-expert reader might not realize that zero is not 
> valid for colspan unless it is made explicit. "integer greater than 
> zero" would be one way to say it. Otherwise "positive non-zero integer"?

I think the current text is fine.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 23 March 2008 12:35:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:40 UTC