mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
469 B
HTML
22 lines
469 B
HTML
<!DOCTYPE html>
|
|
<!-- form with no elements and invalid element is added dynamically -->
|
|
<html>
|
|
<head>
|
|
<style>
|
|
form:invalid { display:none }
|
|
</style>
|
|
<script>
|
|
function onLoadHandler()
|
|
{
|
|
document.forms[0].appendChild(document.getElementById('i'));
|
|
document.documentElement.className='';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload='onLoadHandler();'>
|
|
<input id='i' required>
|
|
<form>
|
|
</form>
|
|
</body>
|
|
</html>
|