summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-required-invalid-changed.html
blob: 64927141f7b54fefb254228b9087f726bb712b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html class='reftest-wait'>
  <!-- Test: if input isn't valid nor barred from constraint validation,
             it should be affected by :-moz-ui-invalid pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('i').value='';
                document.documentElement.className='';">
    <input id='i' class='invalid' required>
  </body>
</html>