mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibWeb: Make :link selector behave according to spec
It should match any `a` or `area` element that has an `href` attribute, not any element *inside* an enclosing linked element.
This commit is contained in:
parent
f25203f245
commit
4b9c5635b3
3 changed files with 12 additions and 8 deletions
|
@ -170,8 +170,6 @@ public:
|
|||
|
||||
void invalidate_style();
|
||||
|
||||
bool is_link() const;
|
||||
|
||||
void set_document(Badge<Document>, Document&);
|
||||
|
||||
virtual EventTarget* get_parent(Event const&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue