Is it possible to navigate SVG object's elements from enclosing HTML?

后端 未结 4 2013
失恋的感觉
失恋的感觉 2020-12-31 23:41

I\'m loading an SVG through an object tag and need to access SVG\'s elements (to manipulate them). How can I do that?

Here\'re partial solutions I\'m aware of:

4条回答
  •  隐瞒了意图╮
    2021-01-01 00:30

    If your option 2) doesn't work, I would like to see your example. What browsers are you testing in? Are you using an svg plugin?

    Option 2) is one of the things that the Acid3 test checks for (subtest #74).

提交回复
热议问题