content/canvas/test/webgl-conformance/conformance/resources/glsl-feature-tests.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 canvas {
     2   background-color: white;
     3   background-image: linear-gradient(0, rgba(200, 200, 200, .5) 50%, transparent 50%), linear-gradient(rgba(200, 200, 200, .5) 50%, transparent 50%);
     4   background-size: 8px 8px;
     5 }
     7 .shader-source {
     8   border: 1px dashed black;
     9   padding: 1em;
    10 }
    12 .shader-source li:nth-child(odd) { background: #f8f8f8; }
    13 .shader-source li:nth-child(even) { background: #f0f0f0; }
    15 .testimages {
    16 }
    18 .testimages br {
    19   clear: both;
    20 }
    22 .testimages > div {
    23   float: left;
    24   margin: 1em;
    25 }

mercurial