1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:05:08 +00:00

LibHTML: Parse link, alink and vlink in <body> and pass to Document

This patch adds HTMLBodyElement::parse_attribute() where we extract the
link colors and stash them away on Document.
This commit is contained in:
Andreas Kling 2019-10-06 10:11:54 +02:00
parent 772718b8d8
commit 83a6474d82
4 changed files with 48 additions and 1 deletions

View file

@ -7,5 +7,6 @@ public:
HTMLBodyElement(Document&, const String& tag_name);
virtual ~HTMLBodyElement() override;
virtual void parse_attribute(const String&, const String&) override;
virtual void apply_presentational_hints(StyleProperties&) const override;
};