summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/input/input-radio-nogroup-required-valid.html
blob: 32f210d4e3eac2fbe4ef6071377e764bfdf0c130 (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' required>
  </body>
</html>