layout/reftests/css-invalid/input/input-dyn-readonly.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <!-- Test: if input is readonly, it is barred from constraint validation
     4              and should not be affected by :invalid pseudo-class. -->
     5   <link rel='stylesheet' type='text/css' href='style.css'>
     6   <body onload="document.getElementById('i').readOnly='ro'; document.documentElement.className='';">
     7     <input class='notinvalid' id='i' required>
     8   </body>
     9 </html>

mercurial