layout/reftests/css-ui-valid/input/input-radio-customerror.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:acadfab18602
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <link rel='stylesheet' type='text/css' href='style.css'>
4 <body onload="document.getElementById('i1').checked = false;
5 document.getElementById('i1').setCustomValidity('foo');
6 if (document.getElementById('i1').mozMatchesSelector(':-moz-ui-valid') ||
7 !document.getElementById('i2').mozMatchesSelector(':-moz-ui-valid')) {
8 document.body.textContent='FAIL';
9 } else {
10 document.body.textContent='SUCCESS';
11 }
12 document.documentElement.className='';">
13 <input id='i1' name='foo' type='radio'>
14 <input id='i2' name='foo' type='radio'>
15 </body>
16 </html>

mercurial