mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Support more presentational hints from the HTML spec
Specifically, this adds support for the align attribute when applied to heading, paragraph and caption elements.
This commit is contained in:
committed by
Andreas Kling
parent
25af1b33f6
commit
51f41ea997
Notes:
sideshowbarker
2024-07-17 02:12:06 +09:00
Author: https://github.com/implicitfield Commit: https://github.com/SerenityOS/serenity/commit/51f41ea997 Pull-request: https://github.com/SerenityOS/serenity/pull/16606 Reviewed-by: https://github.com/awesomekling
@@ -16,6 +16,8 @@ class HTMLTableCaptionElement final : public HTMLElement {
|
||||
public:
|
||||
virtual ~HTMLTableCaptionElement() override;
|
||||
|
||||
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
|
||||
|
||||
private:
|
||||
HTMLTableCaptionElement(DOM::Document&, DOM::QualifiedName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user