Files
firefox/testing/web-platform/tests/css/css-nesting/implicit-nesting-ref.html
T
Matthieu DubetandMatthieu Dubet 0a4f566453 Bug 1832577 [wpt PR 39963] - [css-nesting] Add more relative selector tests., a=testonly
Automatic update from web-platform-tests
[css-nesting] Add more relative selector tests. (#39963)

Co-authored-by: Matthieu Dubet <[email protected]>

--

wpt-commits: 3bd9791331958d6276c035502b1b5a56bb1047ba
wpt-pr: 39963
2023-05-21 22:45:33 +00:00

28 lines
636 B
HTML

<!DOCTYPE html>
<title>Implicit nesting</title>
<link rel="author" title="Steinar H. Gunderson" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-nesting-1/">
<style>
.test {
background-color: green;
width: 30px;
height: 30px;
display: grid;
}
body * + * {
margin-top: 8px;
}
</style>
<body>
<p>Tests pass if <strong>block is green</strong></p>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</body>