mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
438 B
HTML
14 lines
438 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<!-- Test: if input isn't valid nor barred from constraint validation,
|
||
|
it should not be affected by :valid pseudo-class. -->
|
||
|
<style>
|
||
|
input { background-color: green; }
|
||
|
input:valid { background-color: red; }
|
||
|
</style>
|
||
|
<body onload="document.getElementById('i').value='foo'; document.documentElement.className='';">
|
||
|
<input maxlength="2" id='i'>
|
||
|
</body>
|
||
|
</html>
|
||
|
|