testsuite: Add parser test for recent fix

The test doesn't crash without the fix, but it parses the CSS
incorrectly and fails.
This commit is contained in:
Benjamin Otte 2014-07-07 14:25:08 +02:00
parent 871d782e74
commit 0b2198a26b
3 changed files with 14 additions and 0 deletions

View File

@ -30,6 +30,8 @@ clean-local:
rm $(builddir)/*.out.css || true rm $(builddir)/*.out.css || true
test_data = \ test_data = \
animation-shorthand-crash.css \
animation-shorthand-crash.ref.css \
at-invalid-01.css \ at-invalid-01.css \
at-invalid-01.errors \ at-invalid-01.errors \
at-invalid-01.ref.css \ at-invalid-01.ref.css \

View File

@ -0,0 +1,3 @@
a {
animation: foo forwards, bar backwards;
}

View File

@ -0,0 +1,9 @@
a {
animation-delay: 0, 0;
animation-direction: normal, normal;
animation-duration: 0, 0;
animation-fill-mode: forwards, backwards;
animation-iteration-count: 1, 1;
animation-name: foo, bar;
animation-timing-function: ease, ease;
}