Przeglądaj źródła

updated pseudo elements list

Gildas 7 lat temu
rodzic
commit
fb9924a362
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {