开发者

How to include SVG to show on Android Webkit? How to access SVG elements?

开发者 https://www.devze.com 2023-02-04 06:57 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消