addon-sdk/source/examples/annotator/data/editor/annotation-editor.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     2    - License, v. 2.0. If a copy of the MPL was not distributed with this
     3    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     6 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     9 <head>
    10   <title>Annotation</title>
    11   <style type="text/css" media="all">
    12   body, html {
    13     font: 100% arial, helvetica, sans-serif;
    14     padding: 0;
    15     margin: 0;
    16     position: fixed;
    17   }
    18   textarea {
    19     width: 100%;
    20     height: 100%;
    21     margin: 10px;
    22     padding: 0;
    23     color: inherit !important;
    24     font: inherit !important;
    25     background: transparent;
    26     border: none;
    27   }
    28   </style>
    30 </head>
    32 <body>
    34 <textarea rows='10' cols='20' id='annotation-box'>
    35 </textarea>
    37 </body>
    39 </html>

mercurial