layout/reftests/bugs/352980-1k.html
author Tooru Fujisawa <arai_a@mac.com>
Sat, 21 Jan 2017 17:25:45 +0900
changeset 375536 bdafc05f51e8164e3a8923637f7248f7c1124066
parent 3976 aac2ae562ae04f06034663187b4e1cfeb2d6c3a8
permissions -rw-r--r--
Bug 1320408 - Part 14: Change some GlobalObject methods to static method. r=jandem

<!DOCTYPE html>
<html>
 <head>
  <style>
   span { color: red }
   :default + span { color: green }
   span.reverse { color: green }
   :default + span.reverse { color: red }
   input { display: none }
  </style>
 </head>
 <body onload="var foo = document.getElementById('foo');
               var bar = document.createElement('input');
               bar.type = 'submit';
               foo.appendChild(bar)">
  <form id="foo">
    <input type="submit"><span>This should be green</span>
  </form>
 </body>
</html>