| Index: third_party/WebKit/LayoutTests/shadow-dom/layout.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/layout.html b/third_party/WebKit/LayoutTests/shadow-dom/layout.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3736bf06a502d615b59b2866f1d6dc5207767cd2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/layout.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<script src='resources/shadow-dom.js'></script>
|
| +<div id='host'>
|
| + <template data-mode='open'>
|
| + <style>
|
| + div {
|
| + background-color: green;
|
| + }
|
| + </style>
|
| + <div><slot></slot></div>
|
| + </template>
|
| + <div id='hostchild'>Hello</div>
|
| +</div>
|
| +<script>
|
| +hostchild.offsetTop; // Update layout before calling attachShadow() so that #hostchild has a layout object
|
| +convertTemplatesToShadowRootsWithin(host);
|
| +</script>
|
|
|