1234567891011121314151617181920212223 |
- <!DOCTYPE html>
- <!--fieldset with one valid element and another valid one is added dynamically -->
- <html class='reftest-wait'>
- <head>
- <style>
- fieldset:valid { display: none; }
- </style>
- </head>
- <script>
- function onloadHandler()
- {
- document.getElementById("fieldset").appendChild(document.getElementById('i'));
- document.documentElement.className = '';
- }
- </script>
- <body onload='onloadHandler();'>
- <input id='i' type='text' value='bar'>
- <fieldset id="fieldset">
- <input id='j' type='text' value='foo'>
- </fieldset>
- </body>
- </html>
|