layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:7613ca109bf2
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').mozMatchesSelector(':-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>

mercurial