fragid-shadow-4.html (329B)
1 <!doctype html> 2 <div id="host"></div> 3 <script> 4 // Test references in <svg:use> work properly. 5 host.attachShadow({ mode: "open" }).innerHTML = ` 6 <svg width="100" height="100"> 7 <defs> 8 <rect fill="lime" id="rect-4" width="100" height="100"> 9 </defs> 10 <use href="#rect-4" /> 11 </svg> 12 `; 13 </script>