summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-11-05 03:58:14 +0000
committerAndreas Kling <kling@serenityos.org>2022-11-07 14:10:41 +0100
commit1473bc9169dd73d411eab17b0078abbfb451396b (patch)
tree09dcf4c9579ad6990cf4b43306d3d7239ef6821f /Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
parent6c21c72492b2601132a9ff28e658c4b0ffb8a370 (diff)
downloadserenity-1473bc9169dd73d411eab17b0078abbfb451396b.zip
LibWeb: Implement HTMLOrSVGElement.tabIndex
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
index c3d171b55d..adc687c5e3 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
@@ -164,4 +164,11 @@ void run_iframe_load_event_steps(HTML::HTMLIFrameElement& element)
// FIXME: 6. Unset childDocument's iframe load in progress flag.
}
+// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
+i32 HTMLIFrameElement::default_tab_index_value() const
+{
+ // See the base function for the spec comments.
+ return 0;
+}
+
}