summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transitions/parsing/transition-property-invalid.html
blob: f71963f52ce3fd6d65f6ae7ba75d7a4a15a3dd41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!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');
test_invalid_value("transition-property", 'inherit, top');
test_invalid_value("transition-property", 'top, inherit');
test_invalid_value("transition-property", 'unset, top');
test_invalid_value("transition-property", 'top, unset');
test_invalid_value("transition-property", 'default, top');
test_invalid_value("transition-property", 'top, default');
test_invalid_value("transition-property", 'revert, top');
test_invalid_value("transition-property", 'top, revert');
test_invalid_value("transition-property", 'revert-layer, top');
test_invalid_value("transition-property", 'top, revert-layer');
</script>
</body>
</html>