...
<rdar://problem/115226509>
Created attachment 467622 [details] Patch
Comment on attachment 467622 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=467622&action=review > LayoutTests/accessibility/display-contents/tree-and-treeitems-expected.txt:14 > + AXDescription: Animals Prior to this patch, this description was blank. > LayoutTests/accessibility/display-contents/tree-and-treeitems-expected.txt:25 > + AXDescription: Birds Prior to this patch, this description was "Birds Cats", even though "Cats" is the text under an entirely different element.
Comment on attachment 467622 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=467622&action=review > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:2392 > + if (childParentElement && is<Element>(node) && childParentElement != node) does it matter that node is an Element at this place?
Created attachment 467623 [details] Patch
(In reply to chris fleizach from comment #4) > Comment on attachment 467622 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=467622&action=review > > > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:2392 > > + if (childParentElement && is<Element>(node) && childParentElement != node) > > does it matter that node is an Element at this place? Fixed!
Created attachment 467624 [details] Patch
Created attachment 467625 [details] Patch
Created attachment 467627 [details] Patch
Committed 267839@main (6d76fb13fc78): <https://commits.webkit.org/267839@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 467627 [details].