LibHTML: Parse the :link and :hover CSS pseudo-classes

We don't actually do anything with these yet, but now the values will
be there for the selector engine to look at when it feels ready. :^)
This commit is contained in:
Andreas Kling 2019-10-13 21:54:26 +02:00
commit 605a225b53
Notes: sideshowbarker 2024-07-19 11:41:57 +09:00
2 changed files with 22 additions and 4 deletions

View file

@ -15,6 +15,13 @@ public:
};
Type type { Type::Invalid };
enum class PseudoClass {
None,
Link,
Hover,
};
PseudoClass pseudo_class { PseudoClass::None };
enum class Relation {
None,
ImmediateChild,