pjs/layout/reftests/css-valid/input/input-maxlength-invalid.html

11 строки
411 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. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('i').value='foo'; document.documentElement.className='';">
<input class='notvalid' maxlength="2" id='i'>
</body>
</html>