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