summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Element.h2
-rw-r--r--Userland/Libraries/LibWeb/DOM/EventTarget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.h b/Userland/Libraries/LibWeb/DOM/Element.h
index 439fe6e19e..28d93c2744 100644
--- a/Userland/Libraries/LibWeb/DOM/Element.h
+++ b/Userland/Libraries/LibWeb/DOM/Element.h
@@ -103,8 +103,6 @@ public:
ExceptionOr<void> set_inner_html(String const&);
bool is_focused() const;
- virtual bool is_focusable() const { return false; }
-
bool is_active() const;
NonnullRefPtr<HTMLCollection> get_elements_by_class_name(FlyString const&);
diff --git a/Userland/Libraries/LibWeb/DOM/EventTarget.h b/Userland/Libraries/LibWeb/DOM/EventTarget.h
index 1125024587..d3a118c9aa 100644
--- a/Userland/Libraries/LibWeb/DOM/EventTarget.h
+++ b/Userland/Libraries/LibWeb/DOM/EventTarget.h
@@ -26,6 +26,8 @@ public:
void ref() { ref_event_target(); }
void unref() { unref_event_target(); }
+ virtual bool is_focusable() const { return false; }
+
void add_event_listener(const FlyString& event_name, RefPtr<EventListener>);
void remove_event_listener(const FlyString& event_name, RefPtr<EventListener>);