gecko/layout/reftests/css-invalid/input/input-maxlength-invalid.html

12 lines
489 B
HTML
Raw Normal View History

<!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. -->
<!-- TODO: this is valid until bug bug 613016 and bug 613019 are fixed. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('i').value='foo'; document.documentElement.className='';">
<input class='notinvalid' maxlength="2" id='i'>
</body>
</html>