layout/reftests/css-invalid/form/form-dynamic-invalid-barred.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 <!-- form with one invalid element and dynamically made it element with
     3 barred constraints -->
     4 <html class='reftest-wait'>
     5   <head>
     6     <style>
     7       form:invalid { display: none; }
     8     </style>
     9   </head>
    10   <script>
    11     function onloadHandler()
    12     {
    13       document.getElementById('i').readOnly = 'ro';
    14       document.documentElement.className = '';
    15     }
    16   </script>
    17   <body onload='onloadHandler();'>
    18     <form>
    19       <input id='i' required>
    20     </form>
    21   </body>
    22 </html>

mercurial