input-radio-nogroup-required-valid.html 439 B

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