fix incorrect debugging selectors

This commit is contained in:
Dennis Eichhorn 2019-10-05 20:02:36 +02:00
parent e68a832044
commit b62e60940b
2 changed files with 24 additions and 24 deletions

View File

@ -1,20 +1,20 @@
@keyframes blink { @keyframes blink {
0% { 0% {
border: 3px solid red; border: 3px solid red;
} }
} }
*[style] { *[style] {
animation: blink .5s step-end infinite alternate; 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; animation: blink .5s step-end infinite alternate;
} }
a:not([href]), a:not([href]),
a:[href="#"], a[href="#"],
a:[href=""], a[href=""],
a[href*="javascript:void(0)"], a[href*="javascript:void(0)"],
a:empty a:empty
a:empty[title=""], a:empty[title=""],
@ -28,7 +28,7 @@ a:blank:not([title]):not([aria-label]):not([aria-labelledby]) {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
img:not([alt]), img:not([alt]),
img[alt=""], img[alt=""],
img[alt=" "], img[alt=" "],
[role="img"]:not([aria-label]):not([aria-labelledby]), [role="img"]:not([aria-label]):not([aria-labelledby]),
@ -38,11 +38,11 @@ img[src=" "],
img[src="#"], img[src="#"],
img[src="/"], { img[src="/"], {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
html:not([lang]), html:not([lang]),
html[lang=" "], html[lang=" "],
html[lang=""] { html[lang=""] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
@ -51,15 +51,15 @@ html[lang=""] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
meta[name="viewport"][content*="user-scalable=no"], meta[name="viewport"][content*="user-scalable=no"],
meta[name="viewport"][content*="maximum-scale"], meta[name="viewport"][content*="maximum-scale"],
meta[name="viewport"][content*="minimum-scale"] { meta[name="viewport"][content*="minimum-scale"] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
input:not([id]), input:not([id]),
input[type=""], input[type=""],
select:not([id]), select:not([id]),
textarea:not([id]) { textarea:not([id]) {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
@ -70,13 +70,13 @@ label[for=" "] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
input:not([name]), input:not([name]),
select:not([name]), select:not([name]),
textarea:not([name]) { textarea:not([name]) {
animation: blink .5s step-end infinite alternate; 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([name]):not([id]),
form:not([action]), form:not([action]),
form[action=" "], form[action=" "],
@ -85,16 +85,16 @@ form[action=""] {
} }
button:empty, 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:blank:not([aria-label]):not([aria-labelledby]):not([title]),
button[aria-label=""], button[aria-label=""],
button[aria-labelledby=""], button[aria-labelledby=""],
button[title=""], button[title=""],
button:not([type]):not([form]):not([formaction]):not([formtarget]) { button:not([type]):not([form]):not([formaction]):not([formtarget]) {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
script[type="text/javascript"], script[type="text/javascript"],
link[rel="stylesheet"][type="text/css"] { link[rel="stylesheet"][type="text/css"] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }

View File

@ -87,7 +87,7 @@ export class Application {
/** global: KEYBOARD_EVENTS */ /** global: KEYBOARD_EVENTS */
let length = KEYBOARD_EVENTS.length; let length = KEYBOARD_EVENTS.length;
for(let i = 0; i < length; i++) { for(let i = 0; i < length; ++i) {
this.inputManager.getKeyboardManager().add( this.inputManager.getKeyboardManager().add(
KEYBOARD_EVENTS[i]['element'], KEYBOARD_EVENTS[i]['element'],
KEYBOARD_EVENTS[i]['keys'], KEYBOARD_EVENTS[i]['keys'],
@ -101,7 +101,7 @@ export class Application {
/** global: MOUSE_EVENTS */ /** global: MOUSE_EVENTS */
let length = MOUSE_EVENTS.length; let length = MOUSE_EVENTS.length;
for(let i = 0; i < length; i++) { for(let i = 0; i < length; ++i) {
this.inputManager.getMouseManager().add( this.inputManager.getMouseManager().add(
MOUSE_EVENTS[i]['element'], MOUSE_EVENTS[i]['element'],
MOUSE_EVENTS[i]['type'], MOUSE_EVENTS[i]['type'],