layout/reftests/css-invalid/fieldset/fieldset-add-valid-with-no-element.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <!--fieldset with no valid element and another valid one is added dynamically -->
     3 <html class='reftest-wait'>
     4   <head>
     5     <style>
     6       fieldset:valid { display: none; }
     7     </style>
     8   </head>
     9   <script>
    10     function onloadHandler()
    11     {
    12       document.getElementById("fieldset").appendChild(document.getElementById('i'));
    13       document.documentElement.className = '';
    14     }
    15   </script>
    16   <body onload='onloadHandler();'>
    17     <input id='i' type='text' value='foo'>
    18     <fieldset id="fieldset">
    19     </fieldset>
    20   </body>
    21 </html>

mercurial