Fix improper invalidation of inline-(font|script) types

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/1132loz/
This commit is contained in:
Raymond Hill 2023-02-15 16:40:59 -05:00
parent e39f815a73
commit c8c5264aca
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -1298,7 +1298,7 @@ export class AstFilterParser {
break;
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
realBad = abstractTypeCount || behaviorTypeCount;
realBad = behaviorTypeCount;
break;
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
realBad = abstractTypeCount || behaviorTypeCount;