1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-valid/input/input-maxlength-invalid.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <!-- Test: if input isn't valid nor barred from constraint validation, 1.7 + it should not be affected by :valid pseudo-class. --> 1.8 + <!-- TODO: this is valid until bug bug 613016 and bug 613019 are fixed. --> 1.9 + <link rel='stylesheet' type='text/css' href='style.css'> 1.10 + <body onload="document.getElementById('i').value='foo'; document.documentElement.className='';"> 1.11 + <input class='valid' maxlength="2" id='i'> 1.12 + </body> 1.13 +</html> 1.14 +