gecko/browser/devtools/webconsole/test/test-bug-595934-canvas-css.js

11 lines
320 B
JavaScript
Raw Normal View History

/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
window.addEventListener("DOMContentLoaded", function() {
var canvas = document.querySelector("canvas");
var context = canvas.getContext("2d");
context.strokeStyle = "foobarCanvasCssParser";
}, false);