mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
490 B
HTML
23 lines
490 B
HTML
|
<!DOCTYPE html>
|
||
|
<!-- form with one invalid element and dynamically made it element with
|
||
|
barred constraints -->
|
||
|
<html class='reftest-wait'>
|
||
|
<head>
|
||
|
<style>
|
||
|
form:invalid { display: none; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<script>
|
||
|
function onloadHandler()
|
||
|
{
|
||
|
document.getElementById('i').readOnly = 'ro';
|
||
|
document.documentElement.className = '';
|
||
|
}
|
||
|
</script>
|
||
|
<body onload='onloadHandler();'>
|
||
|
<form>
|
||
|
<input id='i' required>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|