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

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     1 <!doctype html>
     2 <head>
     3 	<title>CSS Test (Conditional Rules): Support for simple passing conditions in @supports</title>
     4 	<link rel="author" title="Florian Rivoal" href="mailto:florianr@opera.com">
     5 	<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports">
     6 	<link rel="match" href="at-supports-001-ref.html">
     7 	<meta name="flags" content="">
     8 	<style>
     9 		div {
    10 			background-color:red;
    11 			height:100px;
    12 			width:100px;
    13 		}
    14 		@supports (margin: 0) {
    15 			div { background-color:green; }
    16 		}
    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>
    22 	</div>
    23 </body>
    24 </html>

mercurial