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

LibWeb: Parse and match the :visited pseudo-class (always fails)

If we don't do this, something like "a:visited" is parsed as "a" which
may then take precedence over a previous "a:link" etc.
This commit is contained in:
Andreas Kling 2020-06-13 00:21:42 +02:00
parent 62893a54cc
commit 483b371a7b
3 changed files with 6 additions and 0 deletions

View file

@ -47,6 +47,7 @@ public:
enum class PseudoClass {
None,
Link,
Visited,
Hover,
Focus,
FirstChild,