Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AdamWr opened this issue Mar 11, 2024 · 0 comments
Closed

Comments

@AdamWr
Copy link
Member

AdamWr commented Mar 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants