<canvas> tests

Developed by Philip Taylor. Last updated 2010-06-24.

Based on the HTML5 Draft Standard — 22 February 2010. See also the annotated specification.

See test results for some browsers. (Generated semi-automatically via the report generator.)

You may want to download the source code/data (e.g. to create an offline copy of the tests).

Test cases

For each test, a green background indicates success, red indicates failure, blue indicates a need to manually confirm the output is as expected.

The versions in the report generator are the most visually minimalist. The category links below show the actual and expected renderings, and any error messages. The individual test pages have links to relevant parts of the specification and extra notes.

There may be many inaccuracies: tests that do not notice when part of the output is incorrect; tests that are too intolerant of acceptable renderings differences, or make other unreasonable assumptions; tests that were written for an outdated version of the specification, and tests that are just wrong. Also a number of features are not tested, most notably text rendering. Please contact me (email, IRC, etc) if you find any problems.