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:
parent
e4015ab7cc
commit
605a225b53
2 changed files with 22 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue