1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:05:08 +00:00

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
parent e4015ab7cc
commit 605a225b53
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,