summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-toggle/parsing/toggle-group-invalid.tentative.html
blob: faff3483f1e266fd90d9099860451174b323600d (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
<!DOCTYPE HTML>
<meta charset="UTF-8">
<title>CSS Toggles: parsing toggle-group with invalid values</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Google" href="http://www.google.com/">
<link rel="help" href="https://tabatkins.github.io/css-toggle/#toggle-group-property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>

<body>
<script>

test_invalid_value('toggle-group', 'none, none');
test_invalid_value('toggle-group', 'none self');
test_invalid_value('toggle-group', 'None self');
test_invalid_value('toggle-group', 'NONE self');
test_invalid_value('toggle-group', 'mytoggle self self');
test_invalid_value('toggle-group', 'none, mytoggle');
test_invalid_value('toggle-group', 'mytoggle, none');
test_invalid_value('toggle-group', 'mytoggle 1 self');
test_invalid_value('toggle-group', 'mytoggle self 1');
test_invalid_value('toggle-group', 'mytoggle sticky self');
test_invalid_value('toggle-group', 'mytoggle self sticky');

</script>