summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/widgets/input-checkbox-switch.tentative.html
blob: 315728d539056950a1112d8f0b93ea446a1ee041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<html class="reftest-wait">
<title>Checkbox with switch attribute set renders differently than a checkbox without switch attribute</title>
<link rel=match href="input-checkbox-switch-ref.html">
<link rel=mismatch href="input-checkbox-switch-notref.html">
<input type=checkbox switch>
<input id='input2' type=checkbox>
<input id='input3' type=checkbox switch>
<script>
    input2.setAttribute('switch','');
    input3.removeAttribute('switch');
    document.documentElement.classList.remove("reftest-wait");
</script>
</html>