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

LibWeb: Implement :any-link and :local-link pseudo-class selectors

`:any-link` matches links, whether they have been visited or not.

`:local-link` matches links to the current URL.
This commit is contained in:
Sam Atkins 2023-08-22 15:24:12 +01:00 committed by Andreas Kling
parent eb8f7b303c
commit 3af8b491b4
7 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<style>
:any-link {
color: orange;
}
</style>
<a href="example.com">Link</a>