- From: <bugzilla@jessica.w3.org>
- Date: Sun, 16 Oct 2016 18:22:52 +0000
- To: www-svg@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29809 --- Comment #10 from Arun <arunkumar413@gmail.com> --- It seems that you have not understood the concept well. Using css selectors it isn't possible to uniquely identify an element and if I use IDs I'll have to generate a large number of unique IDs The challenge here is to get the offsets of inner SVG elements in the HTML DOM. Even if the SVG element is moved anywhere in the DOM we should be able to access the offsets of the inner elements which can help us sustain the connections with other SVG elements. Anyways I tried the contentDocument that you have suggested but I'm unable to modify the inner SVG components (see attached screenshot). Here is the code snippet that I'm testing on google cloud (http://104.155.221.20/). Also Here is the link that I referred to access the inner svg components in an object tag (https://benfrain.com/selecting-svg-inside-tags-with-javascript/) -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Sunday, 16 October 2016 18:22:59 UTC