Changeset 220463 in webkit
- Timestamp:
- Aug 9, 2017 10:52:36 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220460 r220463 1 2017-08-09 Nan Wang <n_wang@apple.com> 2 3 AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24 4 https://bugs.webkit.org/show_bug.cgi?id=175340 5 <rdar://problem/33782159> 6 7 Reviewed by Chris Fleizach. 8 9 * accessibility/add-children-pseudo-element-expected.txt: Added. 10 * accessibility/add-children-pseudo-element.html: Added. 11 * accessibility/resources/svg-circle.svg: Added. 12 1 13 2017-08-09 Ms2ger <Ms2ger@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r220461 r220463 1 2017-08-09 Nan Wang <n_wang@apple.com> 2 3 AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24 4 https://bugs.webkit.org/show_bug.cgi?id=175340 5 <rdar://problem/33782159> 6 7 Reviewed by Chris Fleizach. 8 9 When adding a psuedo element child to a RenderBlockFlow element, there might be a chance where 10 the element has already been layed out but we are still holding onto its stale children. Fixed it 11 by notifying AX correctly when inserting/removing children during layout. 12 13 Test: accessibility/add-children-pseudo-element.html 14 15 * rendering/RenderBlockFlow.cpp: 16 (WebCore::RenderBlockFlow::insertFloatingObject): 17 (WebCore::RenderBlockFlow::removeFloatingObject): 18 1 19 2017-08-09 Charlie Turner <cturner@igalia.com> 2 20 -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r219742 r220463 25 25 #include "RenderBlockFlow.h" 26 26 27 #include "AXObjectCache.h" 27 28 #include "Editor.h" 28 29 #include "FloatingObjects.h" … … 2353 2354 2354 2355 setLogicalWidthForFloat(*floatingObject, logicalWidthForChild(floatBox) + marginStartForChild(floatBox) + marginEndForChild(floatBox)); 2356 2357 if (AXObjectCache* cache = document().existingAXObjectCache()) 2358 cache->childrenChanged(this); 2355 2359 2356 2360 return m_floatingObjects->add(WTFMove(floatingObject)); … … 2390 2394 } 2391 2395 m_floatingObjects->remove(&floatingObject); 2396 2397 if (AXObjectCache* cache = document().existingAXObjectCache()) 2398 cache->childrenChanged(this); 2392 2399 } 2393 2400 }
Note: See TracChangeset
for help on using the changeset viewer.