diff --git a/debug.css b/debug.css index e624460..ad28fcb 100644 --- a/debug.css +++ b/debug.css @@ -1,20 +1,20 @@ -@keyframes blink { - 0% { +@keyframes blink { + 0% { border: 3px solid red; - } + } } *[style] { animation: blink .5s step-end infinite alternate; } -[data-action]:not([id]), [data-action]:not([id=""]) { +[data-action]:not([id]), [data-action][id=""] { animation: blink .5s step-end infinite alternate; } a:not([href]), -a:[href="#"], -a:[href=""], +a[href="#"], +a[href=""], a[href*="javascript:void(0)"], a:empty a:empty[title=""], @@ -28,7 +28,7 @@ a:blank:not([title]):not([aria-label]):not([aria-labelledby]) { animation: blink .5s step-end infinite alternate; } -img:not([alt]), +img:not([alt]), img[alt=""], img[alt=" "], [role="img"]:not([aria-label]):not([aria-labelledby]), @@ -38,11 +38,11 @@ img[src=" "], img[src="#"], img[src="/"], { animation: blink .5s step-end infinite alternate; -} +} html:not([lang]), html[lang=" "], -html[lang=""] { +html[lang=""] { animation: blink .5s step-end infinite alternate; } @@ -51,15 +51,15 @@ html[lang=""] { animation: blink .5s step-end infinite alternate; } -meta[name="viewport"][content*="user-scalable=no"], -meta[name="viewport"][content*="maximum-scale"], +meta[name="viewport"][content*="user-scalable=no"], +meta[name="viewport"][content*="maximum-scale"], meta[name="viewport"][content*="minimum-scale"] { animation: blink .5s step-end infinite alternate; -} +} -input:not([id]), -input[type=""], -select:not([id]), +input:not([id]), +input[type=""], +select:not([id]), textarea:not([id]) { animation: blink .5s step-end infinite alternate; } @@ -70,13 +70,13 @@ label[for=" "] { animation: blink .5s step-end infinite alternate; } -input:not([name]), -select:not([name]), +input:not([name]), +select:not([name]), textarea:not([name]) { animation: blink .5s step-end infinite alternate; } -form:not([id]), form:not([id=""]), +form:not([id]), form[id=""], form:not([name]):not([id]), form:not([action]), form[action=" "], @@ -85,16 +85,16 @@ form[action=""] { } button:empty, -button:empty:not([aria-label]):not([aria-labelledby]):not([title]), +button:empty:not([aria-label]):not([aria-labelledby]):not([title]), button:blank:not([aria-label]):not([aria-labelledby]):not([title]), -button[aria-label=""], -button[aria-labelledby=""], +button[aria-label=""], +button[aria-labelledby=""], button[title=""], button:not([type]):not([form]):not([formaction]):not([formtarget]) { animation: blink .5s step-end infinite alternate; } -script[type="text/javascript"], +script[type="text/javascript"], link[rel="stylesheet"][type="text/css"] { animation: blink .5s step-end infinite alternate; } diff --git a/tests/load.js b/tests/load.js index b22410b..0c7b4fc 100644 --- a/tests/load.js +++ b/tests/load.js @@ -87,7 +87,7 @@ export class Application { /** global: KEYBOARD_EVENTS */ let length = KEYBOARD_EVENTS.length; - for(let i = 0; i < length; i++) { + for(let i = 0; i < length; ++i) { this.inputManager.getKeyboardManager().add( KEYBOARD_EVENTS[i]['element'], KEYBOARD_EVENTS[i]['keys'], @@ -101,7 +101,7 @@ export class Application { /** global: MOUSE_EVENTS */ let length = MOUSE_EVENTS.length; - for(let i = 0; i < length; i++) { + for(let i = 0; i < length; ++i) { this.inputManager.getMouseManager().add( MOUSE_EVENTS[i]['element'], MOUSE_EVENTS[i]['type'],