Explorar o código

updated pseudo elements list

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
fb9924a362
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/css-matched-rules.js

+ 1 - 1
lib/single-file/css-matched-rules.js

@@ -24,7 +24,7 @@ this.matchedRules = this.matchedRules || (() => {
 
 	const MEDIA_ALL = "all";
 	const IGNORED_PSEUDO_ELEMENTS = ["after", "before"];
-	const IGNORED_PSEUDO_CLASSES = IGNORED_PSEUDO_ELEMENTS.concat(["after", "before", "blank", "current", "dir", "drop", "first", "focus-visible", "future", "has", "host-context", "left", "matches", "read-only", "read-write", "right"]);
+	const IGNORED_PSEUDO_CLASSES = IGNORED_PSEUDO_ELEMENTS.concat(["after", "before", "blank", "current", "dir", "drop", "first", "focus-visible", "future", "global", "has", "host-context", "left", "matches", "read-only", "read-write", "right"]);
 	const DEBUG = false;
 
 	class MatchedRules {