W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

Range for values (Was: Re: invalid tests about range of integer values)

From: Geoffrey Sneddon <gsneddon@opera.com>
Date: Thu, 07 Oct 2010 18:56:42 +0100
Message-ID: <4CAE09DA.5050003@opera.com>
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
CC: Gérard Talbot <css21testsuite@gtalbot.org>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Moving over to www-style…

On 05/10/10 17:52, L. David Baron wrote:
> On Tuesday 2010-10-05 09:02 -0700, "Gérard Talbot" wrote:
>> Wouldn't it be best if CSS2.1 would define explicitly an allowed range
>> for integer values for properties like counter-reset, counter-increment,
>> z-index, widows, orphans, etc? For negative integer values when
>> applicable. And also define explicitly what should happen when minimum
>> (floor) and maximum (ceiling) values are exceeded?
>
> Maybe.
>
> Or it could define a range that *must* be handled but still allow
> handling of values outside that range.

I'd much rather there was an explicit range defined (as there is for 
DOM, through the IDL definition). Opera has had a number of site 
compatibility bugs due to our maximum value for z-index being less than 
in other browsers, and any sort of implementation defined behaviour like 
that will almost inevitably lead to some site relying upon a certain 
limit that a certain browser uses.

-- 
Geoffrey Sneddon — Opera Software
<http://gsnedders.com>
<http://opera.com>
Received on Thursday, 7 October 2010 17:57:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 October 2010 17:57:35 GMT