layout/reftests/image-element/element-paint-transform-02-ref.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.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4 -->
michael@0 5 <html>
michael@0 6 <body style="filter:url(#thresholdAt128);">
michael@0 7 <div style="width:100px; height:100px; border: 1px solid black;
michael@0 8 -moz-transform:matrix(2,1,0,2,50,50);">
michael@0 9 <div style="margin:50px; border:10px solid red; width:20px; height:20px;
michael@0 10 background:yellow"></div>
michael@0 11 </div>
michael@0 12 <svg>
michael@0 13 <filter id="thresholdAt128" color-interpolation-filters="sRGB">
michael@0 14 <feColorMatrix type="matrix"
michael@0 15 values="255 0 0 0 -128
michael@0 16 0 255 0 0 -128
michael@0 17 0 0 255 0 -128
michael@0 18 0 0 0 255 -128"/>
michael@0 19
michael@0 20 </filter>
michael@0 21 </svg>
michael@0 22 </body>
michael@0 23 </html>

mercurial