layout/reftests/image-element/gradient-html-06a.html

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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     4      Test whether SVG gradients as -moz-element render the same as
     5      CSS gradients.
     6 -->
     7 <!DOCTYPE html>
     8 <html>
     9 <body style="margin:0">
    10   <div style="width:300px; height:300px; background-image:-moz-element(#g)"></div>
    11   <svg>
    12     <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1">
    13       <stop stop-color="lime" offset="0"></stop>
    14       <stop stop-color="black" offset="1"></stop>
    15     </linearGradient>
    16   </svg>
    17 </body>
    18 </html>

mercurial