mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibWeb: Support :active pseudo-class for hyperlinks, :focus possibly
Adds support for the :active pseudo-class for hyperlinks (<a> tags only). Also, since it was very similar to :focus and an element having a focused state was already implemented, I went ahead and implemented that pseudo-class too, although I cannot come up with a working example to validate it.
This commit is contained in:
parent
457edaa4d2
commit
5eb65286b6
Notes:
sideshowbarker
2024-07-18 11:33:31 +09:00
Author: https://github.com/paulirwin
Commit: 5eb65286b6
Pull-request: https://github.com/SerenityOS/serenity/pull/8147
10 changed files with 39 additions and 2 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
Enabled,
|
||||
Checked,
|
||||
Not,
|
||||
Active,
|
||||
};
|
||||
PseudoClass pseudo_class { PseudoClass::None };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue