/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { class HTMLLabelElement final : public HTMLElement { WEB_PLATFORM_OBJECT(HTMLLabelElement, HTMLElement); public: virtual ~HTMLLabelElement() override; virtual RefPtr create_layout_node(NonnullRefPtr) override; String for_() const { return attribute(HTML::AttributeNames::for_); } private: HTMLLabelElement(DOM::Document&, DOM::QualifiedName); }; }