Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: when switching to another type, the input element should look
like that type (not like an input range element) -->
<script type="text/javascript">
function setToCheckbox()
{
document.getElementById('i').type='checkbox';
document.documentElement.className = '';
}
document.addEventListener("MozReftestInvalidate", setToCheckbox);
</script>
<body>
<input type='range' id='i' style="-moz-appearance:none;">
</body>
</html>