input-fieldset-legend.html 423 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <html>
  3. <!-- Test: if input has a disabled fieldset ancestor, but is in the first
  4. legend, it is not barred from constraint validation and should be
  5. affected by :valid pseudo-class. -->
  6. <link rel='stylesheet' type='text/css' href='style.css'>
  7. <body>
  8. <fieldset disabled>
  9. <legend>
  10. <input class='valid'></input>
  11. </legend>
  12. </fieldset>
  13. </body>
  14. </html>