Files
firefox/testing/web-platform/tests/css/css-nesting/nesting-basic-ref.html
T
Matthieu Dubet 5e63261708 Bug 1819023 [wpt PR 38715] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=252928, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=252928 (#38715)

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

wpt-commits: 0bbb3104a8bc5381d3974adf4535fa0dfe191060
wpt-pr: 38715
2023-03-07 00:23:58 +00:00

31 lines
704 B
HTML

<!DOCTYPE html>
<title>Basic nesting</title>
<link rel="author" title="Adam Argyle" 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>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</body>