ladybird/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.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
510 B
C++

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