Explorar o código

added marker in the list of ignored pseudo elements

Gildas %!s(int64=5) %!d(string=hai) anos
pai
achega
f91894ecc5
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

@@ -26,7 +26,7 @@ this.singlefile.lib.modules.matchedRules = this.singlefile.lib.modules.matchedRu
 	const singlefile = this.singlefile;
 
 	const MEDIA_ALL = "all";
-	const IGNORED_PSEUDO_ELEMENTS = ["after", "before", "first-letter", "first-line", "placeholder", "selection", "part"];
+	const IGNORED_PSEUDO_ELEMENTS = ["after", "before", "first-letter", "first-line", "placeholder", "selection", "part", "marker"];
 	const SINGLE_FILE_HIDDEN_CLASS_NAME = "sf-hidden";
 	const DISPLAY_STYLE = "display";
 	const REGEXP_VENDOR_IDENTIFIER = /-(ms|webkit|moz|o)-/;