Sam Atkins
9f5b1e6614
LibWeb: Implement the :read-only and :read-write pseudo-classes
2023-08-23 05:30:59 +02:00
Sam Atkins
3d10bf3ae7
LibWeb: Implement the :target-within pseudo-class selector
...
As noted in a9620d8784 we don't currently
set the target element so this does not function, so no tests. But it
should work once we have a fleshed out Navigables implementation. :^)
2023-08-23 05:30:59 +02:00
Sam Atkins
3af8b491b4
LibWeb: Implement :any-link and :local-link pseudo-class selectors
...
`:any-link` matches links, whether they have been visited or not.
`:local-link` matches links to the current URL.
2023-08-23 05:30:59 +02:00
Sam Atkins
b8e694c0f2
LibWeb: Implement the :dir() selector pseudo-class
2023-08-21 13:51:56 +02:00
Sam Atkins
b684bab5f1
LibWeb: Make :host() take a <compound-selector>
...
This matches the spec:
https://drafts.csswg.org/css-scoping-1/#selectordef-host
2023-08-12 16:26:32 +02:00
Sam Atkins
f76c614a84
LibWeb: Generate PseudoClass metadata
...
The usual to/from-string functions, and metadata about whether the
pseudo-class is a a function or not, and what type of parameter it
takes.
2023-08-12 16:26:32 +02:00