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> |