Canvas and HTML5: Supported Browsers?

2019-03-17 07:34发布

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?

2条回答
该账号已被封号
2楼-- · 2019-03-17 07:52

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

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

查看更多
祖国的老花朵
3楼-- · 2019-03-17 08:03

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.

查看更多
登录 后发表回答