layout/reftests/w3c-css/received/css3-conditional/at-supports-001.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-001.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!doctype html>
     1.5 +<head>
     1.6 +	<title>CSS Test (Conditional Rules): Support for simple passing conditions in @supports</title>
     1.7 +	<link rel="author" title="Florian Rivoal" href="mailto:florianr@opera.com">
     1.8 +	<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports">
     1.9 +	<link rel="match" href="at-supports-001-ref.html">
    1.10 +	<meta name="flags" content="">
    1.11 +	<style>
    1.12 +		div {
    1.13 +			background-color:red;
    1.14 +			height:100px;
    1.15 +			width:100px;
    1.16 +		}
    1.17 +		@supports (margin: 0) {
    1.18 +			div { background-color:green; }
    1.19 +		}
    1.20 +	</style>
    1.21 +</head>
    1.22 +<body>
    1.23 +	<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
    1.24 +	<div>
    1.25 +	</div>
    1.26 +</body>
    1.27 +</html>

mercurial