Serenity Operating System
1/*
2 * Copyright (c) 2020, the SerenityOS developers.
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#pragma once
8
9#include <LibWeb/HTML/HTMLElement.h>
10
11namespace Web::HTML {
12
13// NOTE: This element is marked as obsolete, but is still listed as required by the specification.
14class HTMLDirectoryElement final : public HTMLElement {
15 WEB_PLATFORM_OBJECT(HTMLDirectoryElement, HTMLElement);
16
17public:
18 virtual ~HTMLDirectoryElement() override;
19
20private:
21 HTMLDirectoryElement(DOM::Document&, DOM::QualifiedName);
22
23 virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
24};
25
26}