diff --git a/platform/mv3/scriptlets/css-specific-procedural.js b/platform/mv3/scriptlets/css-procedural.js similarity index 100% rename from platform/mv3/scriptlets/css-specific-procedural.js rename to platform/mv3/scriptlets/css-procedural.js diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 3da7f0442..04b904444 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -1425,6 +1425,7 @@ Parser.prototype.SelectorCompiler = class { if ( match === ':-abp-contains(' ) { return ':has-text('; } else if ( match === ':-abp-has(' ) { + this.asProcedural = false; return ':has('; } return match;