Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a1f882fe5f68b8cc9072304f915676fa66d1e9d4
      
https://github.com/WebKit/WebKit/commit/a1f882fe5f68b8cc9072304f915676fa66d1e9d4
  Author: Andres Gonzalez <[email protected]>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M LayoutTests/accessibility-isolated-tree/TestExpectations
    M LayoutTests/accessibility/mac/search-predicate-expected.txt
    M LayoutTests/accessibility/mac/search-predicate.html
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp

  Log Message:
  -----------
  AX ITM: Fix for LayoutTests/accessibility/mac/search-predicate.html in 
isolated tree mode.
https://bugs.webkit.org/show_bug.cgi?id=247486
<rdar://problem/101956964>

Reviewed by Chris Fleizach.

- Added a test case to search for a misspelled word.
- Searching for misspellings was failing in ITM because 
AXIsolatedObject::hasMisspelling was not implemented. The implementation in 
this patch dispatches the call to the associated object on the main thread. A 
future refinement could cache this property and update it everytime text 
changes.

* LayoutTests/accessibility-isolated-tree/TestExpectations:
* LayoutTests/accessibility/mac/search-predicate-expected.txt:
* LayoutTests/accessibility/mac/search-predicate.html:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::hasMisspelling const):

Canonical link: https://commits.webkit.org/256331@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to