Update web-platform-tests to revision b'065cf84e9f00d1c11faf2a41e500a73ad6b95a48'

This commit is contained in:
WPT Sync Bot 2023-03-21 01:36:33 +00:00
parent 4931ee0eba
commit 4e30ee5e08
184 changed files with 7097 additions and 2788 deletions

View file

@ -93,3 +93,28 @@ test((t) => {
assert_equals(getComputedStyle(outside).zIndex, 'auto');
}, 'Relative selectors in <scope-end>');
</script>
<template id=test_inner_nest>
<div>
<style>
@scope (.a) {
& + & {
z-index:1;
}
}
</style>
<div class=a>
<div id=inner1 class=a></div>
<div id=inner2 class=a></div>
</div>
</div>
</template>
<script>
test((t) => {
t.add_cleanup(() => main.replaceChildren());
main.append(test_inner_nest.content.cloneNode(true));
assert_equals(getComputedStyle(inner1).zIndex, 'auto');
assert_equals(getComputedStyle(inner2).zIndex, '1');
}, 'Nesting-selector in the scope\'s <stylesheet>');
</script>