| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/v0-inert-features-in-v1-shadow-trees.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v0-inert-features-in-v1-shadow-trees.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v0-inert-features-in-v1-shadow-trees.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9bbe29cecb2d770afc89c7e6b18cbb6b6ae05158
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v0-inert-features-in-v1-shadow-trees.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<title>v0 features should be inert in v1 shadow trees.</title>
|
| +<script src='../../../resources/testharness.js'></script>
|
| +<script src='../../../resources/testharnessreport.js'></script>
|
| +<script src='resources/shadow-dom.js'></script>
|
| +<div id='host'>
|
| + <template data-mode='open'>
|
| + <content></content>
|
| + <shadow></shadow>
|
| + </template>
|
| + <div id='child'></div>
|
| +</div>
|
| +<script>
|
| +convertTemplatesToShadowRootsWithin(host);
|
| +document.body.offsetLeft;
|
| +test(function () {
|
| + var content = host.shadowRoot.querySelector('content');
|
| + var shadow = host.shadowRoot.querySelector('shadow');
|
| + assert_equals(content.getDistributedNodes().length, 0);
|
| + assert_equals(shadow.getDistributedNodes().length, 0);
|
| +}, "insertion points should be inert in v1");
|
| +</script>
|
|
|