1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 20:12:13 +00:00

LibHTML: Add support for <font color>

This was pleasantly trivial to implement with the new support for
presentational hints. :^)
This commit is contained in:
Andreas Kling 2019-10-04 21:14:59 +02:00
parent 9808d35554
commit 8fb979148d
4 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,11 @@
#pragma once
#include <LibHTML/DOM/HTMLElement.h>
class HTMLFontElement : public HTMLElement {
public:
HTMLFontElement(Document&, const String& tag_name);
virtual ~HTMLFontElement() override;
virtual void apply_presentational_hints(StyleProperties&) const override;
};