Explorar o código

LibWeb: Add missing spec comment in focusing logic

Nukiloco %!s(int64=3) %!d(string=hai) anos
pai
achega
b47bd95087
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Userland/Libraries/LibWeb/HTML/HTMLElement.cpp

+ 1 - 0
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.
     // 7. Let new chain be the focus chain of new focus target.
     auto new_chain = focus_chain(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);
     run_focus_update_steps(old_chain, new_chain, *new_focus_target);
 }
 }