Skip to content

has() not work on <html> #1240

@imba-tjd

Description

@imba-tjd

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

example.com##html

works but none of the

example.com##html:has(body)
example.com##html:has(div)
example.com##html:has-text(Example)

work.

If this wouldn't be fixed, some info needs adding to wiki.

A specific URL where the issue occurs

example.com

Your environment

  • uBlock Origin version: 1.29.3b12
  • Browser Name and version: FF 81.0b9
  • Operating System and version: Win10 20H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions