author Mounir Lamouri <>
Wed, 17 Nov 2010 00:41:19 +0100
changeset 57620 433b919425d6cc473aa3dc3859bd11cda3d9f078
permissions -rw-r--r--
Bug 596511 (3/3 - <select> can be invalid if no option is selected or all of them have empty value. r=sicking a=blocking-betaN

<!DOCTYPE html>
  <!-- Test: if select is required and has a select option which has value
             different from the empty string, :valid should apply. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
    <select class='valid' required>
      <option selected>foo</option>