mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests [css-animations] [css-transitions] parse shorthand (#19195) Parsing tests for animation and transition shorthands. https://drafts.csswg.org/css-animations/#animation https://drafts.csswg.org/css-transitions/#transition-shorthand-property Open issues: https://github.com/w3c/csswg-drafts/issues/2031 https://github.com/w3c/csswg-drafts/issues/4034 https://github.com/w3c/csswg-drafts/issues/4223 -- wpt-commits: edffcf9ef316c6906591e734cea5bb42c8a60fdf wpt-pr: 19195
21 lines
791 B
HTML
21 lines
791 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Animations: parsing animation-direction with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-direction">
|
|
<meta name="assert" content="animation-direction supports only the grammar '<single-animation-direction> #'.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/parsing-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
test_invalid_value("animation-direction", "auto");
|
|
test_invalid_value("animation-direction", "normal reverse");
|
|
|
|
test_invalid_value("animation-direction", "reverse, initial");
|
|
test_invalid_value("animation-direction", "initial, reverse");
|
|
</script>
|
|
</body>
|
|
</html>
|