Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/layout.html

Issue 2086013003: Make sure to lazyReattach a distributed node if it is already attached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/shadow-dom/layout-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src='resources/shadow-dom.js'></script>
3 <div id='host'>
4 <template data-mode='open'>
5 <style>
6 div {
7 background-color: green;
8 }
9 </style>
10 <div><slot></slot></div>
11 </template>
12 <div id='hostchild'>Hello</div>
13 </div>
14 <script>
15 hostchild.offsetTop; // Update layout before calling attachShadow() so that #ho stchild has a layout object
16 convertTemplatesToShadowRootsWithin(host);
17 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/shadow-dom/layout-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698