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
+1 -1
View File
@@ -323,7 +323,7 @@ let HAS = false;
//TODO Remove side effects
if (typeof window !== 'undefined' && 'WebGLRenderingContext' in window) {
try {
const canvas = /** @type {HTMLCanvasElement} */ (document.createElement('CANVAS'));
const canvas = /** @type {HTMLCanvasElement} */ (document.createElement('canvas'));
const gl = getContext(canvas, {failIfMajorPerformanceCaveat: true});
if (gl) {
HAS = true;