Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS Test (Conditional Rules): In @supports, parens are required to mix conjunctions with disjunctions</title> |
michael@0 | 5 | <link rel="author" title="Florian Rivoal" href="mailto:florianr@opera.com"> |
michael@0 | 6 | <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> |
michael@0 | 7 | <link rel="match" href="at-supports-001-ref.html"> |
michael@0 | 8 | <meta name="flags" content="invalid"> |
michael@0 | 9 | <style> |
michael@0 | 10 | div{ |
michael@0 | 11 | background-color:red; |
michael@0 | 12 | height:100px; |
michael@0 | 13 | width:100px; |
michael@0 | 14 | } |
michael@0 | 15 | @supports (margin:0) { div { background-color:green; } } |
michael@0 | 16 | @supports ((margin: 0) and (display: inline) or (width:1em)) { |
michael@0 | 17 | div { background-color:red; } |
michael@0 | 18 | } |
michael@0 | 19 | </style> |
michael@0 | 20 | </head> |
michael@0 | 21 | <body> |
michael@0 | 22 | <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> |
michael@0 | 23 | <div></div> |
michael@0 | 24 | </body> |
michael@0 | 25 | </html> |