Explorar el Código

added "placeholder" in the list of ignored pseudo elements

Gildas hace 7 años
padre
commit
61724e2d53
Se han modificado 1 ficheros con 1 adiciones y 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;