Status: FAIL | Duration: 54ms | Subtests: 0/1 | Open test on wpt.live | wpt.fyi
/css/css-shadow/host-is-featureless.html
<!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>