blob: 2671994077749de564da1cd112ddbd8c35b55091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<!-- fieldset with one invalid element and dynamically made it element with
barred constraints -->
<html class='reftest-wait'>
<head>
<style>
fieldset:valid { display: none; }
</style>
</head>
<script>
function onloadHandler()
{
document.getElementById('i').readOnly = true;
document.documentElement.className = '';
}
</script>
<body onload='onloadHandler();'>
<fieldset id="fieldset">
<input id='i' required>
</fieldset>
</body>
</html>
|