blob: 543e78fc8e41c86786f7eed7a322ea227f34d1e3 [file] [edit]
<!DOCTYPE html>
<title>CSS Scoping: Shadow host is featureless</title>
<link rel="help" href="https://drafts.csswg.org/css-shadow/#host-element-in-tree">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="host">
<template shadowrootmode="open">
<style>
div {
--x:FAIL;
}
</style>
</template>
</div>
<script>
test(() => {
assert_equals(getComputedStyle(host).getPropertyValue('--x'), '');
});
</script>