| Index: LayoutTests/fast/css/shadow-style-removed-out-of-document.html
|
| diff --git a/LayoutTests/fast/css/shadow-style-removed-out-of-document.html b/LayoutTests/fast/css/shadow-style-removed-out-of-document.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..14c243f66fe11735475fc915d49eeeaddbd79015
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/shadow-style-removed-out-of-document.html
|
| @@ -0,0 +1,9 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| +description('Remove style element before its shadow root is attached to document but it should not crash.');
|
| +var div = document.createElement('div');
|
| +var root = div.createShadowRoot();
|
| +root.innerHTML = '<style>div { color: green; }</style><div>Hello world</div>';
|
| +root.removeChild(root.firstChild);
|
| +</script>
|
|
|