editor/reftests/readonly-editable.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <style>
     5       :-moz-read-write + 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 contenteditable>
    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