mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
582 B
HTML
24 lines
582 B
HTML
<!DOCTYPE html>
|
|
<!-- form with one valid element and a barred for constraint
|
|
validation element then you remove the second element -->
|
|
<html class='reftest-wait'>
|
|
<head>
|
|
<style>
|
|
form:invalid { display: none; }
|
|
</style>
|
|
</head>
|
|
<script>
|
|
function onloadHandler()
|
|
{
|
|
document.forms[0].removeChild(document.getElementById('j'));
|
|
document.documentElement.className = '';
|
|
}
|
|
</script>
|
|
<body onload='onloadHandler();'>
|
|
<form>
|
|
<input id='i' value='foo'required>
|
|
<input id='j' value='bar' readonly>
|
|
</form>
|
|
</body>
|
|
</html>
|