gecko-dev/testing/web-platform/tests/css/css-transitions/parsing/transition-property-invalid.html
Eric Willigers 1935768adb Bug 1582913 [wpt PR 19195] - [css-animations] [css-transitions] parse shorthand, a=testonly
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
2019-09-24 19:33:02 +00:00

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>