layout/reftests/bugs/348809-1c.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style>
     5 span { color: green }
     6 :checked + span { color: red }
     7 input { display: none }
     8 </style>
     9 </head>
    10 <body>
    11 <input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
    12 <script>
    13   var foo = document.body.offsetWidth;
    14   document.getElementById("foo").removeAttribute("type");
    15 </script>
    16 </body>
    17 </html>

mercurial