summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-default/submit-button/default-multiple-submit-2.html
blob: 1fb2289ca65791cb993a48e09fe5fe6977917d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <style>
    input { color: green; }
    input.notdefault:default { color: red; }
    input.default:not(:default) { color: red; }
  </style>
  <body>
    <input type="submit" form="one" class="notdefault">
    <form id="one">
      <input type="submit" class="default">
    </form>
    <script>
      document.body.offsetWidth;
      document.getElementById("one").id = "two";
    </script>
  </body>
</html>