How to include SVG to show on Android Webkit? How to access SVG elements?
There are several options on how to include SVG image in HTML: img
tag, object
tag, svg
tag, embed
tag, obect
with svg
inside, namespaced svg
tag etc.
Do you know what is开发者_StackOverflow中文版 the syntax that WebKit on Adroit (tablets) will display correctly?
Follow up: Which methods allow the developer to access the SVG-DOM nodes from the outside document?
The native Android browser doesn’t support SVG. They originally disabled SVG in their branch of WebKit, and it hasn’t been enabled yet.
See this comment in their bug tracker.
精彩评论