mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +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:
parent
9808d35554
commit
8fb979148d
Notes:
sideshowbarker
2024-07-19 11:49:16 +09:00
Author: https://github.com/awesomekling
Commit: 8fb979148d
4 changed files with 39 additions and 1 deletions
11
Libraries/LibHTML/DOM/HTMLFontElement.h
Normal file
11
Libraries/LibHTML/DOM/HTMLFontElement.h
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue