Consistently use lowercase HTML tag names

Unlike HTML, XHTML is case-sensitive.
This commit is contained in:
Matthias Schiffer
2018-08-18 12:46:59 +02:00
parent 26cc0a3ded
commit 321166849b
15 changed files with 20 additions and 20 deletions

View File

@@ -10,7 +10,7 @@
* @return {CanvasRenderingContext2D} The context.
*/
export function createCanvasContext2D(opt_width, opt_height) {
const canvas = /** @type {HTMLCanvasElement} */ (document.createElement('CANVAS'));
const canvas = /** @type {HTMLCanvasElement} */ (document.createElement('canvas'));
if (opt_width) {
canvas.width = opt_width;
}