W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 10344] col.span, colgroup.span, textarea.cols, textarea.rows should not be limited to only non-negative numbers greater than zero

From: <bugzilla@jessica.w3.org>
Date: Tue, 28 Sep 2010 10:07:59 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1P0X6N-0003bv-Ok@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10344

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #4 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-09-28 10:07:59 UTC ---
Gecko treats col.span as a long, but clamped to the range [1, 1000], with
default 1 (which is also used for out-of-range values).  WebKit seems to treat
it exactly as any long.  Opera treats it as an unsigned long, which means it
clamps negative values to 0 (it does this for all unsigned longs, separate
bug).

Gecko treats textarea.rows as a long, with setting to nonpositive values
treated as setting to 0.  WebKit seems to treat it as an unsigned long, but
setting to nonpositive values sets to the default value (2).  Opera seems to
just treat it as a long.

Okay, I'll grant that we have much less interop than I thought.  Nobody throws,
but nobody does anything that's sensible or consistent with how other values
work, and browsers are often refusing to set to nonpositive values.  So I guess
the spec is as good as anything here.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 28 September 2010 10:08:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:25 UTC