Changeset 183678 in webkit
- Timestamp:
- May 1, 2015 10:05:51 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r183677 r183678 1 2015-05-01 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [ATK] REGRESSION: accessibility/canvas-fallback-content.html now crashes 4 https://bugs.webkit.org/show_bug.cgi?id=144481 5 6 Reviewed by Chris Fleizach. 7 8 Canvas fallback content is allowed to be focusable if the canvas is displayed 9 and visible. Update the style when creating an accessible object for a node in 10 a canvas subtree and before Element::isFocusable() gets called. 11 12 No new tests. The existing, crashing test no longer crashes. 13 14 * accessibility/AXObjectCache.cpp: 15 (WebCore::AXObjectCache::getOrCreate): 16 1 17 2015-05-01 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Source/WebCore/accessibility/AXObjectCache.cpp
r183368 r183678 398 398 return nullptr; 399 399 400 // Fallback content is only focusable as long as the canvas is displayed and visible. 401 // Update the style before Element::isFocusable() gets called. 402 if (inCanvasSubtree) 403 node->document().updateStyleIfNeeded(); 404 400 405 RefPtr<AccessibilityObject> newObj = createFromNode(node); 401 406
Note: See TracChangeset
for help on using the changeset viewer.