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

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: Tests 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 unified diff | Download patch
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

Powered by Google App Engine
This is Rietveld 408576698