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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial