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

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:92734d92ab80
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