layout/reftests/svg/style-without-type-attribute.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 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <svg xmlns="http://www.w3.org/2000/svg" >
michael@0 6
michael@0 7 <title>Testcase for defaulting of 'type' attribute on &lt;style&gt;</title>
michael@0 8
michael@0 9 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=421464 -->
michael@0 10
michael@0 11 <style>
michael@0 12 #r1 { fill: lime; }
michael@0 13 </style>
michael@0 14
michael@0 15 <style type="">
michael@0 16 #r2 { fill: lime; }
michael@0 17 </style>
michael@0 18
michael@0 19 <rect id="r1" width="50%" height="100%" fill="red"/>
michael@0 20 <rect id="r2" x="50%" width="50%" height="100%" fill="red"/>
michael@0 21
michael@0 22 </svg>

mercurial