fieldset-static-valid.html (246B)
1 <!DOCTYPE html> 2 <!-- fieldset with only valid elements --> 3 <html> 4 <head> 5 <style> 6 fieldset:valid { display: none; } 7 </style> 8 </head> 9 <body> 10 <fieldset id="fieldset"> 11 <input value='foo' required> 12 </fieldset> 13 </body> 14 </html>