layout/svg/crashtests/220165-1.svg

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 <?xml version="1.0"?>
     3 <svg xmlns="http://www.w3.org/2000/svg" 
     4      xmlns:html="http://www.w3.org/1999/xhtml" height="500" 
     5      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     6      onload="document.documentElement.getBoundingClientRect();
     7 	     document.getElementById('x').textContent = 'New text'">
     9   <foreignObject x="200" y="180" width="100" height="50" >
    10     <html:button id="x">Old long long long text</html:button>
    11   </foreignObject>
    13   <g transform="rotate(10) translate(-100) scale(0.8)">
    14     <polygon style="fill:red; fill-opacity:0.5;"
    15 	  points="350, 75 379,161 469,161 397,215
    16 	  423,301 350,250 277,301 303,215
    17                      231,161 321,161" />
    19   </g>
    21 </svg>

mercurial