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

Side by Side 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, 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
« no previous file with comments | « no previous file | LayoutTests/svg/dom/nested-use-in-shadow-tree-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 <svg width="100" height="100" style="display: none;">
3 <defs>
4 <rect id="greenSquare" width="100" height="100" fill="green" />
5 <use id="useGreenSquare" xlink:href="#greenSquare"/>
6 </defs>
7 </svg>
8 <template id="template">
9 <svg width="100" height="100">
10 <use xlink:href="#useGreenSquare"/>
11 </svg>
12 </template>
13 <script>
14 document.body.createShadowRoot().appendChild(template.content.cloneNode(true ));
15 </script>
OLDNEW
« 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