blob: 561b39bec3cdc35cb287621bf5e9bd60f77eca2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: when switching to another type, the input element should look
like that type (not like an input number element) -->
<script type="text/javascript">
function setToCheckbox()
{
document.getElementById('i').type='checkbox';
document.documentElement.className = '';
}
document.addEventListener("MozReftestInvalidate", setToCheckbox);
</script>
<body>
<input type='number' id='i' style="-moz-appearance:none;">
</body>
</html>
|