layout/reftests/backgrounds/layers-layer-count-inheritance-2.xhtml

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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 	<head>
     4 		<title>css3-background: number of background layers determined by background-image</title>
     5 		<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
     6 		<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7 		<link rel="help" href="http://dev.w3.org/csswg/css3-background/#layering" />
     8 		<meta name="flags" content="" />
     9 		<style type="text/css"><![CDATA[
    11 		body > div {
    12 			position: relative; height: 300px; width: 100px;
    13 			background-repeat: no-repeat;
    14 			background-position: 10px 10px;
    15 			background-image: url(yellow-32x32.png), url(aqua-32x32.png), url(blue-32x32.png), url(fuchsia-32x32.png), url(red-32x32.png);
    16 		}
    18 		body > div > div {
    19 			position: absolute; height: 200px; width: 100px; top: 100px; left: 0;
    20 			background: inherit;
    21 			background-position: 5px 5px, 0px 0px, 20px 20px, 15px 15px;
    22 		}
    24 		body > div > div > div {
    25 			position: absolute; height: 100px; width: 100px; top: 100px; left: 0;
    26 			background-image: inherit;
    27 			background-repeat: inherit;
    28 			background-position: 10px 10px, 5px 5px, 20px 20px;
    29 		}
    32 		]]></style>
    33 	</head>
    34 	<body>
    36 	<div><div><div></div></div></div>
    38 	</body>
    39 </html>

mercurial