
This CL moves third_party/WebKit/LayoutTests to third_party/blink/web_tests. NOTRY=true NOAUTOREVERT=true NOPRESUBMIT=true NOTREECHECKS=true TBR=robertma@chromium.org Bug: 843412 Change-Id: Ibb588b93d1579bcd1cb68df0a50efd8653f8724f Reviewed-on: https://chromium-review.googlesource.com/c/1328627 Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#610740}
18 lines
442 B
HTML
18 lines
442 B
HTML
<!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>
|