Andreas Kling
483b371a7b
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.
2020-06-13 00:23:30 +02:00
Andreas Kling
65c4e5cacf
LibWeb: Parse and match basic "contains" attribute selectors (~=)
2020-06-10 15:43:41 +02:00
Linus Groh
7bfd24ca76
LibWeb: Support the :root pseudo class
2020-05-14 08:49:51 +02:00
Linus Groh
055e955a1c
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 :^)
2020-05-05 13:16:33 +02:00
Andreas Kling
7309642ca8
LibWeb: Use FlyString for Element tag names
...
This makes selector matching a lot more efficient, and also reduces the
number of strings on the heap.
2020-03-22 19:12:10 +01:00
Andreas Kling
830a57c6b2
LibWeb: Rename directory LibHTML => LibWeb
...
Let's rename this to LibWeb since it aims to provide more parts of the
web platform than just HTML. :^)
2020-03-07 10:32:51 +01:00