Mark some tests for timing-function as FAIL.

Those test cases are apparently wrong. Keyword values (e.g. 'ease')
should not be serialized as cubic-bezier function.
https://drafts.csswg.org/css-timing/#serializing-a-timing-function

On gecko, we also mark those tests FAIL.

https://hg.mozilla.org/mozilla-central/file/2cca333f546f/testing/web-platform/meta/css/css-transitions-1/transition-001.html.ini
https://hg.mozilla.org/mozilla-central/file/2cca333f546f/testing/web-platform/meta/css/css-transitions-1/transition-timing-function-001.html.ini
This commit is contained in:
Hiroyuki Ikezoe 2017-04-28 11:05:46 +09:00
parent f15896078a
commit b5bcc6e5eb
2 changed files with 76 additions and 0 deletions

View file

@ -0,0 +1,38 @@
[transition-001.htm]
type: testharness
[parse '1s']
expected: FAIL
[parse '1s 2s']
expected: FAIL
[parse '1s 2s ease-in']
expected: FAIL
[parse '1s ease-in 2s']
expected: FAIL
[parse 'ease-in 1s 2s']
expected: FAIL
[parse '1s width']
expected: FAIL
[parse 'width 1s']
expected: FAIL
[parse '1s width 2s']
expected: FAIL
[parse '1s 2s width ease-in']
expected: FAIL
[parse '1s ease-in 2s width']
expected: FAIL
[parse 'width ease-in 1s 2s']
expected: FAIL
[parse 'width .1s ease-in .2s']
expected: FAIL

View file

@ -0,0 +1,38 @@
[transition-timing-function-001.htm]
type: testharness
[parse 'ease']
expected: FAIL
[parse 'linear']
expected: FAIL
[parse 'ease-in']
expected: FAIL
[parse 'ease-out']
expected: FAIL
[parse 'ease-in-out']
expected: FAIL
[parse 'cubic-bezier(foobar)']
expected: FAIL
[parse 'steps(foobar)']
expected: FAIL
[parse 'steps(3.3, end)']
expected: FAIL
[parse 'steps(3, top)']
expected: FAIL
[parse 'steps(-3, top)']
expected: FAIL
[parse 'cubic-bezier(-0.1, -0.2, -0.3, -0.4)']
expected: FAIL
[parse 'cubic-bezier(1.1, 1.2, 1.3, 1.4)']
expected: FAIL