Canvas and HTML5: Supported Browsers?

吃可爱长大的小学妹 提交于 2019-12-04 09:57:13

问题


I am looking at using HTML5 Canvas element for my upcoming project. I want to know what all major browsers (including the versions!, cos i know that the latest builds do support canvas) support the Canvas tag. I don't give a damn about IE. So don't bother reporting IE. :) In this tutorial Drawing shapes - MDC, the quadraticCurveTo section says:

quadraticCurveTo(cp1x, cp1y, x, y) // BROKEN in Firefox 1.5 (see work around below)

Does that mean that Canvas is supported on Firefox 1.5 and above too?


回答1:


caniuse.com lists browser support for many different features, including canvas.

Specifically, browser support for canvas is listed at caniuse.com/#search=canvas.




回答2:


It's not only about "supporting Canvas", but about the bugs that each implementation has about this and missing methods that have been added since the initial release. So even if one version of Firefox does add the basic Canvas support, it might have some bugs that make it impossible to use it in your application.

In that case, you might need to check the current versions and then go back as far as you want to support to verify if they work as expected.



来源:https://stackoverflow.com/questions/2676994/canvas-and-html5-supported-browsers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!