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

Unified Diff: LayoutTests/svg/dom/nested-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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/dom/nested-use-in-shadow-tree-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/nested-use-in-shadow-tree.html
diff --git a/LayoutTests/svg/dom/nested-use-in-shadow-tree.html b/LayoutTests/svg/dom/nested-use-in-shadow-tree.html
new file mode 100644
index 0000000000000000000000000000000000000000..84b15ab7ac985e530b493ccbe1bee13c1ed84170
--- /dev/null
+++ b/LayoutTests/svg/dom/nested-use-in-shadow-tree.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<svg width="100" height="100" style="display: none;">
+ <defs>
+ <rect id="greenSquare" width="100" height="100" fill="green" />
+ <use id="useGreenSquare" xlink:href="#greenSquare"/>
+ </defs>
+</svg>
+<template id="template">
+ <svg width="100" height="100">
+ <use xlink:href="#useGreenSquare"/>
+ </svg>
+</template>
+<script>
+ document.body.createShadowRoot().appendChild(template.content.cloneNode(true));
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/dom/nested-use-in-shadow-tree-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698