| Index: third_party/WebKit/LayoutTests/shadow-dom/crashes/slots-get-computed-style.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/crashes/slots-get-computed-style.html b/third_party/WebKit/LayoutTests/shadow-dom/crashes/slots-get-computed-style.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8f08d0e9d921558f9b39ae1f7fa67e46d33fe3c1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/crashes/slots-get-computed-style.html
|
| @@ -0,0 +1,11 @@
|
| +<!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>
|
|
|