Skip to content

Rules with :where() pseudo class are rejected #1609

@AdamWr

Description

@AdamWr

Steps to reproduce

  1. Add this rule:
example.org##div > :where(h1, p)

https://developer.mozilla.org/en-US/docs/Web/CSS/:where

  1. Go to - https://example.org/

div > h1 and div > p should be hidden, but rule is rejected.

cssfilter: cssfilter_addrule(): Rule is not valid, ignoring it (example.org##div > :where(h1, p))
AGProxyFilter: Rule rejected by all filters: example.org##div > :where(h1, p)
Screenshot

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions