1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-valid/input/input-dyn-disabled.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,9 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <!-- Test: if input is disabled, it is barred from constraint validation 1.7 + and should not be affected by :valid pseudo-class. --> 1.8 + <link rel='stylesheet' type='text/css' href='style.css'> 1.9 + <body onload="document.getElementById('i').disabled='true'; document.documentElement.className='';"> 1.10 + <input class='notvalid' id='i'> 1.11 + </body> 1.12 +</html>