/src/serenity/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2020, the SerenityOS developers. |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Bindings/HTMLFrameElementPrototype.h> |
8 | | #include <LibWeb/Bindings/Intrinsics.h> |
9 | | #include <LibWeb/HTML/HTMLFrameElement.h> |
10 | | |
11 | | namespace Web::HTML { |
12 | | |
13 | | JS_DEFINE_ALLOCATOR(HTMLFrameElement); |
14 | | |
15 | | HTMLFrameElement::HTMLFrameElement(DOM::Document& document, DOM::QualifiedName qualified_name) |
16 | 0 | : HTMLElement(document, move(qualified_name)) |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | 0 | HTMLFrameElement::~HTMLFrameElement() = default; |
21 | | |
22 | | void HTMLFrameElement::initialize(JS::Realm& realm) |
23 | 0 | { |
24 | 0 | Base::initialize(realm); |
25 | 0 | WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLFrameElement); |
26 | 0 | } |
27 | | |
28 | | // https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex |
29 | | i32 HTMLFrameElement::default_tab_index_value() const |
30 | 0 | { |
31 | | // See the base function for the spec comments. |
32 | 0 | return 0; |
33 | 0 | } |
34 | | |
35 | | } |