1
0
Fork 0
firefox/layout/reftests/css-invalid/fieldset/fieldset-invalid-and-barred-remove-invalid.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
612 B
HTML

<!DOCTYPE html>
<!-- fieldset with one invalid element and a barred for constraint
validation element then you remove the second element -->
<html class='reftest-wait'>
<head>
<style>
fieldset:valid { display: none; }
</style>
</head>
<script>
function onloadHandler()
{
document.getElementById("fieldset").removeChild(document.getElementById('j'));
document.documentElement.className = '';
}
</script>
<body onload='onloadHandler();'>
<fieldset id="fieldset">
<input id='j' required>
<input value='foo' readonly>
</fieldset>
</body>
</html>