fieldset-static-invalid.html 248 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <!--fieldset with only invalid elements -->
  3. <html>
  4. <head>
  5. <style>
  6. fieldset:invalid { display: none; }
  7. </style>
  8. </head>
  9. <body>
  10. <fieldset id="fieldset">
  11. <input required>
  12. </fieldset>
  13. </body>
  14. </html>