summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/button/button-type-barred.html
blob: db630d300f97c44a4a6571c3ceb23467674688a1 (plain)
1
2
3
4
5
6
7
8
9
10
<!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>