select-required-invalid.html 348 B

123456789101112
  1. <!DOCTYPE html>
  2. <html>
  3. <!-- Test: if select is required and has a select option which has an empty
  4. string value, :valid should not apply. -->
  5. <link rel='stylesheet' type='text/css' href='style.css'>
  6. <body>
  7. <select class='notvalid' required>
  8. <option selected value="">foo</option>
  9. </select>
  10. </body>
  11. </html></html>