mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +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
22 lines
850 B
HTML
22 lines
850 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Transitions: parsing transition-property with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-transitions/#propdef-transition-property">
|
|
<meta name="assert" content="transition-property supports only the grammar 'none | <single-transition-property> #'.">
|
|
<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("transition-property", 'one two three');
|
|
test_invalid_value("transition-property", '1, 2, 3');
|
|
test_invalid_value("transition-property", 'none, one');
|
|
|
|
test_invalid_value("transition-property", 'initial, top');
|
|
test_invalid_value("transition-property", 'top, initial');
|
|
</script>
|
|
</body>
|
|
</html>
|