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

[snipped]

{
(...)
> <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)
http://lists.w3.org/Archives/Public/public-css-testsuite/2009Dec/0014.html

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Tuesday, 5 October 2010 00:27:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 October 2010 00:27:17 GMT