mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
871d782e74
commit
0b2198a26b
@ -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 \
|
||||||
|
3
testsuite/css/parser/animation-shorthand-crash.css
Normal file
3
testsuite/css/parser/animation-shorthand-crash.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
a {
|
||||||
|
animation: foo forwards, bar backwards;
|
||||||
|
}
|
9
testsuite/css/parser/animation-shorthand-crash.ref.css
Normal file
9
testsuite/css/parser/animation-shorthand-crash.ref.css
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user