layout/reftests/w3c-css/received/css3-conditional/at-supports-033.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!doctype html>
     2 <html>
     3 	<head>
     4 		<title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title>
     5 		<link rel="author" title="Florian Rivoal" href="mailto:florianr@opera.com">
     6 		<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports">
     7 		<link rel="match" href="at-supports-001-ref.html">
     8 		<meta name="flags" content="invalid">
     9 		<style>
    10 			div {
    11 				background-color:red;
    12 				height:100px;
    13 				width:100px;
    14 			}
    15 			@supports ;
    16 			@supports (margin:0) { div { background-color:green; } }
    17 		</style>
    18 	</head>
    19 	<body>
    20 		<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
    21 		<div></div>
    22 	</body>
    23 </html>

mercurial