W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2013

transition-duration-001 test (was) Re: Tests added for CSS3 Transitions

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 30 Jan 2013 20:55:50 -0500
Message-ID: <a9762e56434b8f379745e28f99754eca.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Rodney Rehm" <mail@rodneyrehm.de>
Cc: "Public CSS Test suite mailing list" <public-css-testsuite@w3.org>
Rod,


http://test.csswg.org/source/contributors/rodneyrehm/submitted/css3-transitions/transition-duration-001.html



line 43         '-5s' : '0s',
                 (...)
line 52         '-500ms' : '0s',
                 (...)
                // invalid
line 56         'foobar': '0s'


"
A negative value for transition-duration is treated as ‘0s’.
"
2.2. The 'transition-duration' Property
http://www.w3.org/TR/css3-transitions/#transition-duration-property

but I think it should have been saying that a negative value is invalid
creates a parsing error and fallback default value will be used in such
instance.

Generally speaking, any length that can not be negative will create a
parsing error.

Opera 12.13 reports only 1 parsing error in its Error Console due to an
invalid value.

[2013-01-30 20:47:32] CSS -
http://test.csswg.org/source/contributors/rodneyrehm/submitted/css3-transitions/transition-duration-001.html
Inlined stylesheet
Invalid value for property: transition-duration
Line 3:
  transition-duration:foobar;
  ---------------------------^

While Firefox 18.0.1 reports 3 parsing errors for those -5s, -500ms and
foobar values.

So, I think
transition-duration-001.html
should definitely declare the invalid flag too.

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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Thursday, 31 January 2013 01:56:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 January 2013 01:56:25 GMT