content/canvas/test/webgl-conformance/conformance/more/unit.css

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 /*
     2 Tests for the OpenGL ES 2.0 HTML Canvas context
     4 Copyright (C) 2009  Ilmari Heikkinen <ilmari.heikkinen@gmail.com>
     6 Permission is hereby granted, free of charge, to any person
     7 obtaining a copy of this software and associated documentation
     8 files (the "Software"), to deal in the Software without
     9 restriction, including without limitation the rights to use,
    10 copy, modify, merge, publish, distribute, sublicense, and/or sell
    11 copies of the Software, and to permit persons to whom the
    12 Software is furnished to do so, subject to the following
    13 conditions:
    15 The above copyright notice and this permission notice shall be
    16 included in all copies or substantial portions of the Software.
    18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    19 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    20 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    21 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    22 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    23 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    24 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    25 OTHER DEALINGS IN THE SOFTWARE.
    27 */
    28 .ok {
    29   color: green;
    30 }
    31 .fail {
    32   color: red;
    33 }
    34 canvas {
    35   display: none;
    36 }
    37 #test-status {
    38   font-size: large;
    39 }
    41 #test-log {
    42   padding-left: 0.5em;
    43   padding-right: 0.5em;
    44   background: white;
    45   color: black;
    46 }
    47 #test-log > div {
    48   padding-bottom: 0.5em;
    49 }
    50 #test-log h2 {
    51   font-size: 1em;
    52   margin-bottom: 0em;
    53   padding-top: 0.5em;
    54 }
    55 #test-log h3 {
    56   font-size: small;
    57   margin-left: 1.5em;
    58   margin-bottom: 0em;
    59   margin-top: 0.5em;
    60 }
    61 #test-log p {
    62   margin-left: 4em;
    63   font-size: small;
    64   margin-top: 0em;
    65   margin-bottom: 0.2em;
    66 }

mercurial