summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/select/select-invalid.html
blob: a30a1555a6164542a5348536f83b0b5244e8d898 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select has a custom error, it should not be affected by :valid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('s').setCustomValidity('foo'); document.documentElement.className='';">
    <select class='notvalid' id='s'></select>
  </body>
</html>