input-checkbox-valid-default.html (583B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <!-- Test: if input is valid and its checkedness hasn't changed, 4 it should not be affected by :-moz-ui-valid pseudo-class. --> 5 <link rel='stylesheet' type='text/css' href='style.css'> 6 <body onload="if (document.getElementById('i').matches(':-moz-ui-valid')) { 7 document.body.textContent='FAIL'; 8 } else { 9 document.body.textContent='SUCCESS'; 10 } 11 document.documentElement.className='';"> 12 <input id='i' type='checkbox'> 13 </body> 14 </html>