editor/reftests/readonly-non-editable.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <style>
     5       :-moz-read-only + span {
     6         display: none;
     7       }
     8       span {
     9         color: transparent; /* workaround for bug 617524 */
    10         outline: 1px solid green;
    11       }
    12     </style>
    13   </head>
    14   <body>
    15     <input><span>hide me</span>
    16     <input readonly><span>hide me</span>
    17     <input type=password><span>hide me</span>
    18     <input type=password readonly><span>hide me</span>
    19     <input type=email><span>hide me</span>
    20     <input type=email readonly><span>hide me</span>
    21     <textarea></textarea><span>hide me</span>
    22     <textarea readonly></textarea><span>hide me</span>
    23   </body>
    24 </html>

mercurial