summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML
diff options
context:
space:
mode:
authorNukiloco <calebar1959@gmail.com>2022-03-23 10:21:30 -0500
committerTim Flynn <trflynn89@pm.me>2022-03-24 08:39:26 -0400
commitb47bd95087e9b64db9ca548fe2536b4d13f2de4b (patch)
treea3db7ffa0e02f316f09e389440dcb81553f4fe21 /Userland/Libraries/LibWeb/HTML
parent626ea5007aef25660e5ac5897fac0aeb8c41362d (diff)
downloadserenity-b47bd95087e9b64db9ca548fe2536b4d13f2de4b.zip
LibWeb: Add missing spec comment in focusing logic
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLElement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
index 163f125c19..b9523d51cf 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -363,6 +363,7 @@ static void run_focusing_steps(DOM::Node* new_focus_target, DOM::Node* fallback_
// 7. Let new chain be the focus chain of new focus target.
auto new_chain = focus_chain(new_focus_target);
+ // 8. Run the focus update steps with old chain, new chain, and new focus target respectively.
run_focus_update_steps(old_chain, new_chain, *new_focus_target);
}