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

Unified 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, 11 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 | third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference-2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference.html b/third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference.html
new file mode 100644
index 0000000000000000000000000000000000000000..9bb818008f2ad5eb01689bb085b8ed238c769978
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/shadow-dom-resource-reference.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<div></div>
+<svg height="0">
+ <linearGradient id="g">
+ <stop stop-color="red"/>
+ </linearGradient>
+</svg>
+<script>
+var div = document.querySelector('div');
+var shadowRoot = div.attachShadow({ mode: 'closed' });
+shadowRoot.innerHTML = '<svg><rect width="100" height="100" fill="url(#g) green"/></svg>';
+</script>
« 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