summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/button/button-type-barred.html
blob: b98377a819d6088fc7a9099157d2a130812f11a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if a button has is candidate for constraint validation then change
             its type to be barred from constraint validation, it should not be
             affected by :valid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('b').type='button'; document.documentElement.className='';">
    <button class='notvalid' type='submit' id='b'></button>
  </body>
</html>