2010-08-21 10:52:57 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<!-- Test: if input isn't valid nor barred from constraint validation,
|
|
|
|
it should be affected by :invalid pseudo-class. -->
|
2010-11-23 06:17:12 -08:00
|
|
|
<!-- TODO: this is valid until bug bug 613016 and bug 613019 are fixed. -->
|
2010-08-24 21:40:31 -07:00
|
|
|
<link rel='stylesheet' type='text/css' href='style.css'>
|
2010-08-21 10:52:57 -07:00
|
|
|
<body onload="document.getElementById('i').value='foo'; document.documentElement.className='';">
|
2010-11-23 06:17:12 -08:00
|
|
|
<input class='notinvalid' maxlength="2" id='i'>
|
2010-08-21 10:52:57 -07:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|