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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial