Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 9236754

Browse files
Add accessibility object method to determine whether an element is inside a table cell. Needed for iOS accessibility client.
https://bugs.webkit.org/show_bug.cgi?id=200394 <rdar://problem/52914964> Patch by Andres Gonzalez <[email protected]> on 2019-08-02 Reviewed by Chris Fleizach. Explicitly returning BOOL to avoid error in some compiler configurations. * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: (-[WebAccessibilityObjectWrapper _accessibilityIsInTableCell]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@248188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 32e4305 commit 9236754

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Source/WebCore/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2019-08-02 Andres Gonzalez <[email protected]>
2+
3+
Add accessibility object method to determine whether an element is inside a table cell. Needed for iOS accessibility client.
4+
https://bugs.webkit.org/show_bug.cgi?id=200394
5+
<rdar://problem/52914964>
6+
7+
Reviewed by Chris Fleizach.
8+
9+
Explicitly returning BOOL to avoid error in some compiler configurations.
10+
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
11+
(-[WebAccessibilityObjectWrapper _accessibilityIsInTableCell]):
12+
113
2019-08-02 Devin Rousso <[email protected]>
214

315
Web Inspector: fix inverted check in InspectorDOMStorageAgent::enable

Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ - (BOOL)_accessibilityIsInTableCell
603603
{
604604
return AccessibilityObject::matchedParent(*m_object, false, [] (const AccessibilityObject& object) {
605605
return object.roleValue() == AccessibilityRole::Cell;
606-
});
606+
}) != nullptr;
607607
}
608608

609609
- (AccessibilityObjectWrapper*)_accessibilityFieldsetAncestor

0 commit comments

Comments
 (0)