summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-email-invalid-changed.html
blob: 87f4568eaa0311c8a66fb0603fdda9cd80379e10 (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,
             and its value has changed,
             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 = 'foo';
                document.documentElement.className='';">
    <input id='i' class='invalid' type='email' value='bar'>
  </body>
</html>