Skip to content

Add mobile browsers to the list of user agents, which support :has() natively #1870

@AdamWr

Description

@AdamWr

Related to - #1840 and #1683, but for mobile browsers.

It seems that currently in mobile browsers (the same on desktop in mobile view) rules with :has() use ExtendedCSS instead of native :has().

Steps to reproduce

  1. Add this rule:
example.org##div:has(a)
  1. Go to - https://example.org/
  2. Open devtools and search for div

In desktop view native :has() is used.

Screenshot desktop

image

In mobile view ExtendedCSS is used.

Screenshot mobile

image

The same occurs on real Android device.

Screenshot Android

image

AdGuard for Windows 7.17.0 nightly 20 (4637) (CL 1.14.25, DL 2.5.4 )
AdGuard for Android v4.4 Nightly 35

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions