1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:07:43 +00:00

LibWeb: Recognise :focus pseudo-class

It's still only a dummy as LibWeb doesn't have focused elements yet, but
at least now we don't treat "selector:focus" as just "selector".

This fixes an issue on google.com which was mostly grey - coming from
some menu item focus styles :^)
This commit is contained in:
Linus Groh 2020-05-05 11:48:13 +01:00 committed by Andreas Kling
parent f3cff4c677
commit 055e955a1c
3 changed files with 6 additions and 0 deletions

View file

@ -48,6 +48,7 @@ public:
None,
Link,
Hover,
Focus,
FirstChild,
LastChild,
OnlyChild,