/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::Layout { ButtonBox::ButtonBox(DOM::Document& document, HTML::HTMLInputElement& element, NonnullRefPtr style) : FormAssociatedLabelableNode(document, element, move(style)) { } ButtonBox::~ButtonBox() = default; void ButtonBox::prepare_for_replaced_layout() { // For and , the contents of // the button does not appear as the contents of the element but as the // value attribute. This is not the case with