- From: Travis Leithead <travis.leithead@microsoft.com>
- Date: Fri, 23 Oct 2015 19:42:10 +0000
- To: "rniwa@apple.com" <rniwa@apple.com>, "public-webapps@w3.org" <public-webapps@w3.org>
Well, since SVG 'use' is mostly about replicating the composed tree anyway, it seems that is should probably render the composed tree--e.g., this seems natural, because use would "replicate" the host element, which would then render it's shadow DOM. The interactivity behaviors associated with the shadow dom is an interesting question though.. today you are expected to attach event handlers to the ElementInstance (http://www.w3.org/TR/SVG/struct.html#InterfaceSVGElementInstance) which is the DOM representation of the "replicated" tree--I'm not sure what this would look like for Elements with an attached shadow. I'd love to know what the folks on www-svg@w3.org working on SVG2 think about this. -----Original Message----- From: rniwa@apple.com [mailto:rniwa@apple.com] Sent: Thursday, October 22, 2015 6:16 PM To: public-webapps@w3.org Subject: Shadow DOM and SVG use elements Hi all, What should happen when a SVG use element references an element (or its ancestor) with a shadow root? Should the use element show the composed tree underneath it or ignore shadow DOM altogether? I'm a little inclined towards the former (uses the composed tree). - R. Niwa
Received on Friday, 23 October 2015 19:42:41 UTC