summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/input/input-radio-nogroup-required-invalid.html
blob: 765de1cb2ac6d9acb4b7192f927d362fd0c02ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html class="reftest-wait">
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="if (!document.getElementById('i').matches(':valid')) {
                  document.body.textContent='FAIL';
                } else {
                  document.body.textContent='SUCCESS';
                }
                document.documentElement.className='';">
    <input id='i' type='radio' checked required>
  </body>
</html>