servo/tests/wpt/web-platform-tests/css/css-toggle/parsing/toggle-group-computed.tentative.html

24 lines
1.1 KiB
HTML

<!DOCTYPE HTML>
<meta charset="UTF-8">
<title>CSS Toggles: getComputedStyle() for toggle-group property</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/computed-testcommon.js"></script>
<body>
<div id="target"></div>
<script>
test_computed_value('toggle-group', 'none');
test_computed_value('toggle-group', 'self self');
test_computed_value('toggle-group', 'mytoggle');
test_computed_value('toggle-group', 'mytoggle, yourtoggle');
test_computed_value('toggle-group', 'mytoggle, mytoggle');
test_computed_value('toggle-group', 'mytoggle self, yourtoggle');
test_computed_value('toggle-group', 'mytoggle self , yourtoggle self', 'mytoggle self, yourtoggle self');
test_computed_value('toggle-group', 'mytoggle,yourtoggle self', 'mytoggle, yourtoggle self');
</script>