select-required-multiple-valid.html 396 B

12345678910111213
  1. <!DOCTYPE html>
  2. <html>
  3. <!-- Test: if select is required and has a selected option which has value
  4. different from the empty string, :invalid should not apply. -->
  5. <link rel='stylesheet' type='text/css' href='style.css'>
  6. <body>
  7. <select class='notinvalid' required multiple>
  8. <option selected></option>
  9. <option selected>foo</option>
  10. </select>
  11. </body>
  12. </html>