layout/reftests/image-rect/background-test-parser-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 <!DOCTYPE html>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/licenses/publicdomain/
michael@0 5 -->
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <title>Testcases: -moz-image-rect() [bug 113577]</title>
michael@0 9 <style>
michael@0 10 div.wrapper {
michael@0 11 width: 32px;
michael@0 12 height: 32px;
michael@0 13 margin: 10px;
michael@0 14 background-color: red;
michael@0 15 }
michael@0 16 div.wrapper div {
michael@0 17 }
michael@0 18 #test1, #test2, #test3 {
michael@0 19 width: 16px;
michael@0 20 height: 16px;
michael@0 21 background: url('green-16x16-in-blue-32x32.png') no-repeat;
michael@0 22 }
michael@0 23 #test4 {
michael@0 24 width: 32px;
michael@0 25 height: 32px;
michael@0 26 background-color: yellow;
michael@0 27 }
michael@0 28 #test5, #test6 {
michael@0 29 }
michael@0 30 </style>
michael@0 31 </head>
michael@0 32 <body>
michael@0 33 <div class="wrapper"><div id="test1"></div></div>
michael@0 34 <div class="wrapper"><div id="test2"></div></div>
michael@0 35 <div class="wrapper"><div id="test3"></div></div>
michael@0 36 <div class="wrapper"><div id="test4"></div></div>
michael@0 37 <div class="wrapper"><div id="test5"></div></div>
michael@0 38 <div class="wrapper"><div id="test6"></div></div>
michael@0 39 </body>
michael@0 40 </html>

mercurial