mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-21 03:10:26 +00:00
A few are skipped for now: - A few ref tests fail - Crash tests are not supported by our runner and time out - top-level-is-scope.html crashes and needs further investigation
22 lines
518 B
HTML
22 lines
518 B
HTML
<!DOCTYPE html>
|
|
<title>CSS Nesting: Implicit nesting (ident)</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-nesting-1/">
|
|
<script src="../../resources/testharness.js"></script>
|
|
<script src="../../resources/testharnessreport.js"></script>
|
|
<style>
|
|
#main {
|
|
div {
|
|
color: green;
|
|
}
|
|
}
|
|
</style>
|
|
<div id=main>
|
|
<div id=target>
|
|
Green
|
|
</div>
|
|
</main>
|
|
<script>
|
|
test(() => {
|
|
assert_equals(getComputedStyle(target).color, 'rgb(0, 128, 0)');
|
|
}, 'Nested rule starting with tag');
|
|
</script>
|