mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
649d2faeab
We had some inconsistencies before: - Sometimes "The", sometimes "the" - Sometimes trailing ".", sometimes no trailing "." I picked the most common one (lowecase "the", trailing ".") and applied it to all copyright headers. By using the exact same string everywhere we can ensure nothing gets missed during a global search (and replace), and that these inconsistencies are not spread any further (as copyright headers are commonly copied to new files).
33 lines
797 B
C++
33 lines
797 B
C++
/*
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/HTML/FormAssociatedElement.h>
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
|
|
|
namespace Web::HTML {
|
|
|
|
class HTMLSelectElement final
|
|
: public HTMLElement
|
|
, public FormAssociatedElement {
|
|
public:
|
|
using WrapperType = Bindings::HTMLSelectElementWrapper;
|
|
|
|
HTMLSelectElement(DOM::Document&, QualifiedName);
|
|
virtual ~HTMLSelectElement() override;
|
|
|
|
private:
|
|
// ^DOM::Node
|
|
virtual void inserted() override;
|
|
virtual void removed_from(DOM::Node*) override;
|
|
|
|
// ^HTML::FormAssociatedElement
|
|
virtual HTMLElement& form_associated_element_to_html_element() override { return *this; }
|
|
};
|
|
|
|
}
|