Explorar o código

added "placeholder" in the list of ignored pseudo elements

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

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

@@ -23,7 +23,7 @@
 this.matchedRules = this.matchedRules || (() => {
 
 	const MEDIA_ALL = "all";
-	const IGNORED_PSEUDO_ELEMENTS = ["after", "before", "first-letter", "first-line", "selection"];
+	const IGNORED_PSEUDO_ELEMENTS = ["after", "before", "first-letter", "first-line", "placeholder", "selection"];
 	const REGEXP_VENDOR_IDENTIFIER = /-(ms|webkit|moz|o)-/;
 	const DEBUG = false;