Changeset 207496 in webkit
- Timestamp:
- Oct 18, 2016 4:04:13 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207493 r207496 1 2016-10-18 Aaron Chu <aaron_chu@apple.com> 2 3 Web Inspector: AXI: focused/focusable state should be based on Accessibility Object instead of Element 4 https://bugs.webkit.org/show_bug.cgi?id=163088 5 <rdar://problem/16421985> 6 7 Reviewed by Darin Adler. 8 9 Changed code in InspectDOMAgent so that it determines the focusability of a Node based 10 on the AccessibilityNodeObject and not the Element class. 11 12 Covered by existing tests: 13 LayoutTests/inspector/dom/getAccessibilityPropertiesForNode.html 14 15 * inspector/InspectorDOMAgent.cpp: 16 (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties): 17 1 18 2016-10-18 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp
r206093 r207496 1676 1676 1677 1677 if (is<Element>(*node)) { 1678 supportsFocused = downcast<Element>(*node).isFocusable();1678 supportsFocused = axObject->canSetFocusAttribute(); 1679 1679 if (supportsFocused) 1680 1680 focused = axObject->isFocused();
Note: See TracChangeset
for help on using the changeset viewer.