Skip to content

Commit

Permalink
Properly detect incorrect usage of CSS combinators
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 10, 2023
1 parent 768bf7d commit dad862f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/static-filtering-parser.js
Expand Up @@ -3093,6 +3093,7 @@ class ExtSelectorCompiler {
if ( parts === undefined ) { return; }
if ( this.astHasType(parts, 'Error') ) { return; }
if ( this.astHasType(parts, 'Selector') === false ) { return; }
if ( this.astIsValidSelectorList(parts) === false ) { return; }
if (
this.astHasType(parts, 'ProceduralSelector') === false &&
this.astHasType(parts, 'ActionSelector') === false
Expand Down

0 comments on commit dad862f

Please sign in to comment.