at-supports-008.html (770B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>CSS Test (Conditional Rules): Disjunctions with at least a passing simple condition in @supports should pass</title> 5 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 6 <link rel="author" href="http://opera.com" title="Opera Software ASA"> 7 <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> 8 <link rel="match" href="at-supports-001-ref.html"> 9 <style> 10 div { 11 background-color:red; 12 height:100px; 13 width:100px; 14 } 15 @supports ((margin: 0) or (foo: 15em)) { 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>