ladybird/Libraries/LibHTML/DOM/HTMLBodyElement.h
Andreas Kling 83a6474d82 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.
2019-10-06 10:11:54 +02:00

12 lines
357 B
C++

#pragma once
#include <LibHTML/DOM/HTMLElement.h>
class HTMLBodyElement : public HTMLElement {
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;
};