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

Implement has() pseudo-class? #25133

Open
pshaughn opened this issue Dec 5, 2019 · 0 comments
Open

Implement has() pseudo-class? #25133

pshaughn opened this issue Dec 5, 2019 · 0 comments

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Dec 5, 2019

This is in dom/nodes/Element-closest.html and no browser currently supports it. https://developer.mozilla.org/en-US/docs/Web/CSS/:has pretends it exists until you get to the bottom of the page and the compatibility table just says "No." with a link to https://bugzilla.mozilla.org/show_bug.cgi?id=418039 for Firefox's no. Draft spec is at https://drafts.csswg.org/selectors-4/#relational

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.