blob: 8f08d0e9d921558f9b39ae1f7fa67e46d33fe3c1 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id= "host"></div>
<script>
test(() => {
var root = host.attachShadow({ mode: 'open' });
root.innerHTML = '<slot></slot>';
assert_equals(getComputedStyle(root.querySelector('slot')).color, 'rgb(0, 0, 0)');
}, 'Getting CSS property value for a slot should not cause a crash');
</script>