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.

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

mercurial