summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/input/input-url-invalid-changed.html
blob: f00b5acbd7746d45b4814b5464acc5f37cd3d258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html class='reftest-wait'>
  <!-- Test: if input isn't valid nor barred from constraint validation,
             and its value is not the default value,
             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='url'>
  </body>
</html>