Test purpose
On page load, Scrawl-canvas should only pick up and modify canvas elements which have been explicitly assigned to it:
- Create several canvas-based scenes using a variety of Javascript canvas libraries
- At the end of the page, create a Scrawl-canvas canvas scene
- The Scrawl-canvas library should load last, after the other canvas libraries have completed their work and created their scenes (not taking into account async networking issues when downloading JS libraries from the various CDNs)
- Check to make sure Scrawl-canvas has not interfered in any way with the HTML markup of canvases used by, or generated by, the other canvas libraries
- Check to make sure the other library canvases display as expected, and the user can interact with them in the normal way (if they display an interactive scene)
- Check to make sure the Scrawl-canvas scene works as expected (the canvas is responsive)
Touch test: not required
Annotated code - all code for this test is in the HTML file; no Javascript file gets loaded by the page. Inspect the HTML page source to see the JS code.