layout/reftests/backgrounds/background-repeat-1.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 <html>
michael@0 3 <!--
michael@0 4 spec: http://dev.w3.org/csswg/css3-background/#the-background-repeat
michael@0 5 -->
michael@0 6 <head>
michael@0 7 <title>background-repeat single value mapping</title>
michael@0 8 <style>
michael@0 9 div
michael@0 10 {
michael@0 11 width: 128px;
michael@0 12 height: 128px;
michael@0 13 background-image: url(aqua-yellow-32x32.png);
michael@0 14 border: 1px solid black;
michael@0 15 }
michael@0 16 #no_repeat
michael@0 17 {
michael@0 18 background-repeat: no-repeat no-repeat; /* no-repeat */
michael@0 19 }
michael@0 20 #repeat
michael@0 21 {
michael@0 22 background-repeat: repeat repeat; /* repeat */
michael@0 23 }
michael@0 24 #repeat_x
michael@0 25 {
michael@0 26 background-repeat: repeat no-repeat; /* repeat-x */
michael@0 27 }
michael@0 28 #repeat_y
michael@0 29 {
michael@0 30 background-repeat: no-repeat repeat; /* repeat-y */
michael@0 31 }
michael@0 32 </style>
michael@0 33 </head>
michael@0 34 <body>
michael@0 35 <div id="no_repeat"></div>
michael@0 36 <div id="repeat"></div>
michael@0 37 <div id="repeat_x"></div>
michael@0 38 <div id="repeat_y"></div>
michael@0 39 </body>
michael@0 40 </html>
michael@0 41
michael@0 42

mercurial