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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/received/css3-conditional/at-supports-009.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!doctype html>
     1.5 +<html>
     1.6 +	<head>
     1.7 +		<title>CSS Test (Conditional Rules): Negations of failing simple conditions in @supports should pass</title>
     1.8 +		<link rel="author" title="Florian Rivoal" href="mailto:florianr@opera.com">
     1.9 +		<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports">
    1.10 +		<link rel="match" href="at-supports-001-ref.html">
    1.11 +		<meta name="flags" content="">
    1.12 +		<style>
    1.13 +			div {
    1.14 +				background-color:red;
    1.15 +				height:100px;
    1.16 +				width:100px;
    1.17 +			}
    1.18 +			@supports (not (yadayada: x, calc( 2/3 ))) {
    1.19 +				div { background-color:green; }
    1.20 +			}
    1.21 +		</style>
    1.22 +	</head>
    1.23 +	<body>
    1.24 +		<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
    1.25 +		<div></div>
    1.26 +	</body>
    1.27 +</html>

mercurial