[Webkit-unassigned] [Bug 116046] For keyboard users, activating a fragment URL should transfer focus and caret to the destination

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 4 23:02:10 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=116046

--- Comment #37 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 277305
  --> https://bugs.webkit.org/attachment.cgi?id=277305
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=277305&action=review

>>> Source/WebCore/dom/Document.cpp:3934
>>> +        return downcast<Element>(node);
>> 
>> Step 2 checks of https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation-starting-point says:
> 
> We always return the m_focusedElement when it's not null. m_focusableElement will be set to null if we are trying to focus on unfocusable element, and m_focusNavigationStartingPoint will take place.

That seems wrong.  The spec says we should m_focusNavigationStartingNode if it's inside m_focusableElement even if m_focusableElement was not null.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160505/bd4ebd6a/attachment.html>


More information about the webkit-unassigned mailing list