Changeset 287388 in webkit
- Timestamp:
- Dec 23, 2021, 12:54:35 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
accessibility/AccessibilityRenderObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r287387 r287388 1 2021-12-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK][a11y] Test accessibility/svg-remote-element.html crashes with ATSPI 4 https://bugs.webkit.org/show_bug.cgi?id=234563 5 6 Reviewed by Adrian Perez de Castro. 7 8 This is because the remote svg element wrappers can't be created because the svg image page hasn't the root 9 object set. 10 11 * accessibility/AccessibilityRenderObject.cpp: 12 (WebCore::AccessibilityRenderObject::remoteSVGRootElement const): Set the root image wrapper element on the svg 13 image page. 14 1 15 2021-12-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp
r287304 r287388 3398 3398 if (!is<AccessibilitySVGRoot>(rootSVGObject)) 3399 3399 return nullptr; 3400 3400 3401 #if USE(ATSPI) 3402 if (auto* page = document->page()) 3403 page->setAccessibilityRootObject(createIfNecessary == Create ? axObjectCache()->document().page()->accessibilityRootObject() : nullptr); 3404 #endif 3405 3401 3406 return downcast<AccessibilitySVGRoot>(rootSVGObject); 3402 3407 }
Note:
See TracChangeset
for help on using the changeset viewer.