Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Support for :contains("foo") #58

Closed
kpcyrd opened this issue Sep 12, 2019 · 2 comments
Closed

Support for :contains("foo") #58

kpcyrd opened this issue Sep 12, 2019 · 2 comments

Comments

@kpcyrd
Copy link

kpcyrd commented Sep 12, 2019

I'm not sure if this needs to be implemented in one of the servo crates or kuchiki, but I noticed it's currently not supported and it would be very useful to have.

Thanks!

@SimonSapin
Copy link
Collaborator

:contains is not part of CSS: https://drafts.csswg.org/selectors/. I’m not even sure what it’s supposed to do.

@kpcyrd
Copy link
Author

kpcyrd commented Sep 13, 2019

hah, oops. It seems the website I've tested this on had jquery loaded, so I didn't get the browser native $(selector) that uses css selectors, but the jquery $(selector) that uses it's own thing.

Sorry for the noise.

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

No branches or pull requests

2 participants