Web Inspector: AXI: linkified refs to #document and #text are not usually navigable...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2016 22:15:57 +0000 (22:15 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2016 22:15:57 +0000 (22:15 +0000)
commita01d7547fde65d9dae191b89aaa44b53c8702e6a
tree1cb45c1939295fd06b0e4dec1ccbe799b8bbb900
parentb11ac7e42e74d279ab9ec5710a20a83492966c97
Web Inspector: AXI: linkified refs to #document and #text are not usually navigable nodes; consider delinkifying them
https://bugs.webkit.org/show_bug.cgi?id=130600
<rdar://problem/16391333>

Patch by Aaron Chu <aaron_chu@apple.com> on 2016-09-29
Reviewed by Brian Burg.

.:

Added a manual test to test the node links in the Accessibility Inspector
https://bugs.webkit.org/show_bug.cgi?id=130600

* ManualTests/accessibility/delinkified-non-navigable-links.html: Added.

Source/WebInspectorUI:

Removing link style for non-navigable nodes by first
checking nodeType of the node.

* UserInterface/Base/DOMUtilities.js:
(WebInspector.linkifyNodeReference):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/accessibility/delinkified-non-navigable-links.html [new file with mode: 0644]
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/DOMUtilities.js