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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!doctype html>
     2 <html>
     3 	<head>
     4 		<title>CSS Test (Conditional Rules): In @supports, functions can be parsed successfully</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="">
     9 		<style>
    10 			div {
    11 				background:red;
    12 				height:100px;
    13 				width:100px;
    14 			}
    15 			@supports (background: url("http://www.example.com/foo.jpg")) {
    16 				div { background-color:green; }
    17 			}
    18 		</style>
    19 	</head>
    20 	<body>
    21 		<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
    22 		<div></div>
    23 	</body>
    24 </html>

mercurial