layout/reftests/css-default/submit-button/default-multiple-submit-2.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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

mercurial