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

Re: invalid tests about range of integer values

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 4 Oct 2010 17:26:31 -0700
Message-ID: <a56dda7b5dc0f37929a396900b5b5ba5.squirrel@cp3.shieldhost.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

> The following tests (in 20100917; I only spot-checked newer releases
> to check that some tests were still problematic) are invalid because
> they assume that CSS defines an allowed range of integer values,
> which it does not:
> counter-increment-013


> <meta name="assert" content="The property z-index set to a minimum
value minus 1 is correctly truncated to the minimum value.">

This assertion was discussed at the CSS WG F2F in Beijing. It was
decided that tests need to test some boundaries that were reasonable. In
the case of integer it was easy enough to find the definition of integer
in the C Language Specification. Though I am not going to put up much of
a battle for the exact number defined in the test case I will put up the
question "How do we test that the boundaries are supported correctly for
<integers>, <numbers> and <lengths>?". This must be defined or the spec
is untestable for all scenarios. (...)

RE: Range of integer values (wrt 1 Microsoft z-index test)

regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC2; October 1st 2010):

CSS 2.1 test suite contributors:
Received on Tuesday, 5 October 2010 00:27:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC