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

Side by Side Diff: LayoutTests/svg/dom/use-in-shadow-tree.html

Issue 216463003: Allow <use> inside author shadow roots (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove loop in isInUserAgentShadowTree, add a title test Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <svg width="100" height="100" style="display: none;">
3 <defs>
4 <rect id="greenSquare" width="100" height="100" fill="green" />
5 </defs>
6 </svg>
7 <template id="template">
8 <svg width="100" height="100">
9 <use xlink:href="#greenSquare" />
10 </svg>
11 </template>
12 <script>
13 document.body.createShadowRoot().appendChild(template.content.cloneNode(true ));
14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/title-in-shadow-tree-expected.txt ('k') | LayoutTests/svg/dom/use-in-shadow-tree-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698