Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
AX ITM: Update the target node of a ChildrenChanged notification in a…
…ddition of updating its children. https://bugs.webkit.org/show_bug.cgi?id=241834 Reviewed by Chris Fleizach. Fixes several tests in isolated tree mode, including: accessibility/mac/figure-element.html [ Failure ] accessibility/mac/progress-with-label-element.html [ Failure ] accessibility/mac/label-element-changing-children-string-value.html [ Timeout ] accessibility/mac/label-element-changing-textcontent-string-value.html [ Timeout ] accessibility/visible-elements.html [ Timeout ] In updateChildren, replaced AXIsolatedTree::updateRelatedProperties with updateNodeAndDependetnProperties to replace the whole object instead of individual properties. This will update several properties that depend on the children of any given object such as those properties that compute textUnderElement. The added cost should be marginal given that updating the children is a lot more costly. * LayoutTests/accessibility/mac/label-element-changing-children-string-value-expected.txt: * LayoutTests/accessibility/mac/label-element-changing-children-string-value.html: * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp: (WebCore::AXIsolatedTree::updateNodeAndDependentProperties): (WebCore::AXIsolatedTree::updateChildren): (WebCore::AXIsolatedTree::updateTableProperties): Deleted. (WebCore::AXIsolatedTree::updateTreeItemProperties): Deleted. (WebCore::AXIsolatedTree::updateRelatedProperties): Deleted. * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h: Canonical link: https://commits.webkit.org/251732@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
75a0e5e
commit 075e144
Showing
4 changed files
with
10 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters