-
-
Notifications
You must be signed in to change notification settings - Fork 14
Support CSS selector pseudo-classes #135
Copy link
Copy link
Open
Description
Pseudo-selectors, like :focus, :focus-within, etc are not implemented.
Gost-DOM uses https://github.com/gost-dom/css to implement CSS selectors. This is derived from https://github.com/ericchiang/css - which doesn't appear to be maintained.
TODO: Research what the current library supports.
It's entirely possible that this library doesn't support pseudo-selectors at all, but it's possible it could implement classes such as :odd/:nth. It wouldn't know anything about :focus - maybe the caller can supply that context? Newer selectors, like :has are unlikely to work (AFAIK, this has been added since the library was last updated)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status