1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <!-- Test: if input is valid and its checkedness hasn't changed, 1.7 + it should not be affected by :-moz-ui-valid pseudo-class. --> 1.8 + <link rel='stylesheet' type='text/css' href='style.css'> 1.9 + <body onload="if (document.getElementById('i').mozMatchesSelector(':-moz-ui-valid')) { 1.10 + document.body.textContent='FAIL'; 1.11 + } else { 1.12 + document.body.textContent='SUCCESS'; 1.13 + } 1.14 + document.documentElement.className='';"> 1.15 + <input id='i' type='checkbox'> 1.16 + </body> 1.17 +</html>