layout/reftests/css-invalid/fieldset/fieldset-dynamic-invalid-not-barred.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <!DOCTYPE html>
     2 <html class='reftest-wait'>
     3   <head>
     4     <style>
     5       fieldset:invalid { display: none; }
     6     </style>
     7   </head>
     8   <script>
     9     function onloadHandler()
    10     {
    11       document.getElementById('i').readOnly = false;
    12       document.documentElement.className = '';
    13     }
    14   </script>
    15   <body onload='onloadHandler();'>
    16     <fieldset id="fieldset">
    17       <input id='i' required readonly>
    18     </fieldset>
    19   </body>
    20 </html>

mercurial