1
0
Fork 0
firefox/layout/reftests/css-selectors/state-dependent-in-any.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

16 lines
347 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
span { color: red; }
:-moz-any(:valid) + span { color: green; }
</style>
</head>
<body>
<input required><span>This should be green</span>
<script>
document.body.offsetWidth;
document.getElementsByTagName("input")[0].value = "Test"
</script>
</body>
</html>