:has() pseudo-class has native implementation
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
and since ExtendedCss v2 release the rule with ## marker and :has() should not be considered as ExtendedCss
const rule1 = 'example.org##.sponsored:has(.banner)';
expect(rule1.isExtendedCss()).toBeFalsy();
but :has() pseudo-class should be considered as ExtendedCss if the rule marker is #?#
const rule2 = 'example.org#?#.sponsored:has(.banner)';
expect(rule2.isExtendedCss()).toBeTruthy();
https://github.com/AdguardTeam/ExtendedCss#extended-css-has
related: AdguardTeam/SafariConverterLib#43
:has() pseudo-class has native implementation
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
and since ExtendedCss v2 release the rule with
##marker and:has()should not be considered as ExtendedCssbut :has() pseudo-class should be considered as ExtendedCss if the rule marker is
#?#https://github.com/AdguardTeam/ExtendedCss#extended-css-has
related: AdguardTeam/SafariConverterLib#43