summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-file-required-invalid-changed.html
blob: 960b01b422cc006770f10dcee3710b456d656eec (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,
             but its default value hasn't been changed,
             it should not 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' type='file' required>
  </body>
</html>