summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/select/select-invalid.html
blob: df3526dfcef25a406897ad118a3380d617e41003 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select has a custom error, it should be affected by :-moz-ui-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>