You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rules with the `:has()` pseudo-class must use the [native implementation of `:has()`][native-has]
3597
3597
if they use the `##` rule marker and if it is possible, i.e., there are no other extended CSS selectors inside.
3598
-
If it is not supported by the product, ExtendedCss implementation will be used even for rules with the `##` marker.
3598
+
If it is not supported by the product (or by the browser incase of AdGuard Browser Extension),
3599
+
ExtendedCss implementation will be used automatically as a fallback,
3600
+
even for rules with the `##` marker.
3599
3601
3600
-
Currently, not all AdGuard products support the native implementation of `:has()` yet:
3602
+
AdGuard products support the native implementation of `:has()`:
3601
3603
3602
-
- AdGuard for Windows, AdGuard for Mac, AdGuard for Android, and AdGuard for Linux **do support** it with [CoreLibs] v1.12 or later.
3603
-
- AdGuard for iOS and AdGuard for Safari **do support** it with [SafariConverterLib](#safari-converter-lib) v2.0.39 and [Safari browser v16.4][safari-16.4].
3604
-
- AdGuard Browser Extension **does not support** it yet, but it is [planned][AdguardBrowserExtension#2587].
3604
+
- AdGuard for Windows, AdGuard for Mac, AdGuard for Android, and AdGuard for Linux **support** it with [CoreLibs] v1.12 or later.
3605
+
- AdGuard for iOS and AdGuard for Safari **support** it with [SafariConverterLib](#safari-converter-lib) v2.0.39 and [Safari browser v16.4][safari-16.4] or later.
3606
+
- AdGuard Browser Extension **supports** it in v5.3 or later:
3607
+
- **Manifest V3** (Chromium-based): always uses native `:has()` by default.
3608
+
- **Manifest V2**: Detects native `:has()` support using `CSS.supports()` and falls back to ExtendedCss if the browser doesn’t support it natively.
3609
+
- All other AdGuard products **do not support** it.
3605
3610
3606
-
To force the ExtendedCss implementation of `:has()` to be used, use the `#?#` or `#$?#` rule markers explicitly,
3611
+
To force the ExtendedCss implementation of `:has()` to be used (regardless of native support),
0 commit comments