summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/select/select-invalid.html
blob: 45d3790adbb76cd6c289b2e6ef2a4e810391e796 (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 be affected by :invalid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('s').setCustomValidity('foo'); document.documentElement.className='';">
    <select class='invalid' id='s'></select>
  </body>
</html>