mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
347 B
HTML
17 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>
|