summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/select/select-disabled.html
blob: 51e03e541a703958ccac138236f7d10f0f195384 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if select is disabled, it is barred from constraint validation
             and should not 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='notinvalid' id='s' disabled></select>
  </body>
</html>