Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/widgets/input-checkbox-switch.tentative.html - WPT Dashboard Interop Dashboard
<!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>