1
0
Fork 0
firefox/testing/web-platform/tests/css/css-nesting/supports-is-consistent.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
534 B
HTML

<!DOCTYPE html>
<title>@supports needs to be consistent with actual nesting support</title>
<link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
<link rel="help" href="https://crbug.com/1414012">
<link rel="match" href="supports-is-consistent-ref.html">
<style>
/* This test is expected to pass even if the browser does not support nesting. */
@supports selector(&) {
p {
color: red;
& { color: inherit; }
}
}
</style>
<body>
<p>Test passes if this text is not red</p>
</body>