summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html
blob: fbf34b02036293d6931bfe21f9c62d392cc062f3 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select is not disabled but it's value hasn't changed,
             it should not be affected:-moz-ui-valid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('s').removeAttribute('disabled');
                document.documentElement.className='';">
    <select class='notvalid' id='s' disabled></select>
  </body>
</html>