summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.h
blob: 0bd8337a5508c9e66ac5a72dd2d4337fdc0ee323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2020, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/HTML/HTMLElement.h>

namespace Web::HTML {

// NOTE: This element is marked as obsolete, but is still listed as required by the specification.
class HTMLDirectoryElement final : public HTMLElement {
    WEB_PLATFORM_OBJECT(HTMLDirectoryElement, HTMLElement);

public:
    virtual ~HTMLDirectoryElement() override;

private:
    HTMLDirectoryElement(DOM::Document&, DOM::QualifiedName);

    virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
};

}