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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference.html

Issue 2633143002: SVG objects with same idrefs conflict when under different shadow root (Closed)
Patch Set: ensureSVGTreeScopedResources(); add comment Created 3 years, 10 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/svg/custom/shadow-dom-resource-reference-2.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 <div></div>
3 <svg height="0">
4 <linearGradient id="g">
5 <stop stop-color="red"/>
6 </linearGradient>
7 </svg>
8 <script>
9 var div = document.querySelector('div');
10 var shadowRoot = div.attachShadow({ mode: 'closed' });
11 shadowRoot.innerHTML = '<svg><rect width="100" height="100" fill="url(#g) green" /></svg>';
12 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698