<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - For keyboard users, activating a fragment URL should transfer focus and caret to the destination"
   href="https://bugs.webkit.org/show_bug.cgi?id=116046#c50">Comment # 50</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - For keyboard users, activating a fragment URL should transfer focus and caret to the destination"
   href="https://bugs.webkit.org/show_bug.cgi?id=116046">bug 116046</a>
              from <span class="vcard"><a class="email" href="mailto:n_wang&#64;apple.com" title="Nan Wang &lt;n_wang&#64;apple.com&gt;"> <span class="fn">Nan Wang</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=280722&amp;action=diff" name="attach_280722" title="Patch after the crash fix">attachment 280722</a> <a href="attachment.cgi?id=280722&amp;action=edit" title="Patch after the crash fix">[details]</a></span>
Patch after the crash fix

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=280722&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=280722&amp;action=review</a>

<span class="quote">&gt;&gt; Source/WebCore/dom/Document.cpp:3725
&gt;&gt; +    }
&gt; 
&gt; It seems that we're storing the focus navigation starting node here so that we can move it to somewhere else in
&gt; updateFocusNavigationStartingNodeWithNodeRemoval later.
&gt; I think it's better and more efficient to call updateFocusNavigationStartingNodeWithNodeRemoval before this function
&gt; in Document::nodeChildrenWillBeRemoved and Document::nodeWillBeRemoved instead.</span >

setFocusedElement(nullptr) will also reset the focusNavigationStartingNode. So that's why updateFocusNavigationStartingNodeWithNodeRemoval needs to be after this function.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>