supports-is-consistent.html (534B)
1 <!DOCTYPE html> 2 <title>@supports needs to be consistent with actual nesting support</title> 3 <link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org"> 4 <link rel="help" href="https://crbug.com/1414012"> 5 <link rel="match" href="supports-is-consistent-ref.html"> 6 <style> 7 /* This test is expected to pass even if the browser does not support nesting. */ 8 @supports selector(&) { 9 p { 10 color: red; 11 & { color: inherit; } 12 } 13 } 14 </style> 15 <body> 16 <p>Test passes if this text is not red</p> 17 </body>