[Bug 29809] Accessing the offset of inner SVG elements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29809

--- Comment #8 from Robert Longson <longsonr@gmail.com> ---
In reply to Arun from comment #7)
> The SVG objects placed on the HTML will be in the order of hundreds. If I
> use the contentDocument method I'll have to generate hundreds of IDs.
> Scalability seems to be a problem with this approach.

Maybe, or alternatively you could use CSS selectors to pick them out.(

> 
> For example, assume that there are 5 SVG objects with 8 inner components
> each then I'll have to create  40 IDs to uniquely access each inner
> component.

use classes and select by class. Or just select by tag name.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 16 October 2016 08:33:51 UTC