ladybird/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.h
implicitfield 51f41ea997 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.
2023-01-04 11:50:03 +01:00

25 lines
517 B
C++

/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/HTML/HTMLElement.h>
namespace Web::HTML {
class HTMLHeadingElement final : public HTMLElement {
WEB_PLATFORM_OBJECT(HTMLHeadingElement, HTMLElement);
public:
virtual ~HTMLHeadingElement() override;
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
private:
HTMLHeadingElement(DOM::Document&, DOM::QualifiedName);
};
}