1
0
Fork 0
firefox/testing/web-platform/tests/css/css-nesting/mixed-declarations-rules.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

20 lines
404 B
HTML

<!DOCTYPE html>
<title>Mixed declarations and rules</title>
<link rel="help" href="https://drafts.csswg.org/css-nesting/#nested-declarations-rule">
<style>
div {
width: 100px;
height: 100px;
background-color: blue;
@media all {
background-color: red;
}
background-color: green;
}
</style>
<body>
<p>Tests pass if <strong>block is green</strong></p>
<div class="test"></div>
</body>