layout/reftests/transform/transform-svg-1a.xhtml

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 -->
     5 <html xmlns="http://www.w3.org/1999/xhtml"
     6      xmlns:svg="http://www.w3.org/2000/svg"
     7      xmlns:xlink="http://www.w3.org/1999/xlink">
     8 <body style="margin:0">
     9   <div style="clip-path: url(#c1); width:400px; height:200px; background:lime; -moz-transform: translate(100px, 100px);">
    10     <div style="height:200px;"/>
    11     <div style="height:200px; background:blue;"/>
    12   </div>
    14   <svg:svg height="0">
    15     <svg:clipPath id="c1" clipPathUnits="userSpaceOnuse">
    16       <svg:rect x="0" y="0" width="300" height="300"/>
    17     </svg:clipPath>
    18   </svg:svg>
    19 </body>
    20 </html>

mercurial