e>

<div id=container style="width:200px">
<div id=target style="width:50%"></div>
</div>

<script>
test(() => {
  const computedStyle = getComputedStyle(target);
  assert_equals(computedStyle.width, "100px");
}, "getComputedStyle works in hidden c-v subtree");
</script>
