- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 16 Jul 2018 13:22:12 +0000
- To: public-svg-issues@w3.org
emilio has just created a new issue for https://github.com/w3c/svgwg: == What are local reference URLs resolved against in <svg:use> in a Shadow Tree? == The following test-case shows a square in Blink, and nothing in WebKit and Firefox. I'd expect the WebKit and Firefox behavior because of consistency with resource URLs: ```html <!doctype html> <meta charset=utf-8> <div id="host"></div> <script> host.attachShadow({ mode: 'open' }).innerHTML = ` <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <g id="square"> <g class="inside-use"> <rect width="100" height="100"/> </g> </g> </defs> <g id="test"> <use xlink:href="#square" /> </g> </svg> `; </script> ``` I haven't found spec text to back this up or define this in any reasonable way. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/505 using your GitHub account
Received on Monday, 16 July 2018 13:22:14 UTC