-
Notifications
You must be signed in to change notification settings - Fork 39
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
Missing support for :has() pseudo-class #72
Comments
Correction: See the latest editors draft of the spec for an updated definition. |
Ah, right. I forgot about this. Thank you Bramus. :) |
Hi, are PR welcome ? |
@LyzioOh |
@KittyGiraudel |
Support for the
:has()
pseudo-class is getting very good with only Firefox lacking support for wide adoption.As far as I can tell from the wiki, it seems like nwsapi does not support
:has()
yet? In turns, this makes JSDOM throwing errors when using a selector containing the:has()
pseudo-class — which is not ideal.I think the implementation should be relatively similar to the
:is()
and:not()
pseudo-classes? Judging by the spec, that is. What’s nice (I think?) about this pseudo-class is that it accepts a<forgiving-relative-selector-list>
which means the validation of the argument doesn’t have to be strict.The text was updated successfully, but these errors were encountered: