소스 검색

added "placeholder" in the list of ignored pseudo elements

Gildas 7 년 전
부모
커밋
61724e2d53
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;