/* * Copyright (c) 2021, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::Layout { class RadioButton final : public FormAssociatedLabelableNode { JS_CELL(RadioButton, FormAssociatedLabelableNode); public: RadioButton(DOM::Document&, HTML::HTMLInputElement&, NonnullRefPtr); virtual ~RadioButton() override; private: virtual JS::GCPtr create_paintable() const override; }; }