[webkit-changes] [WebKit/WebKit] 1e29a8: AX: Schedule the accessibility regions paint befor...

AndresGonzalezApple noreply at github.com
Mon May 22 06:57:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e29a8fa8f79edd8288745d4ba1adcb839b597bf
      https://github.com/WebKit/WebKit/commit/1e29a8fa8f79edd8288745d4ba1adcb839b597bf
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp

  Log Message:
  -----------
  AX: Schedule the accessibility regions paint before building the isolated tree.
https://bugs.webkit.org/show_bug.cgi?id=257045
<rdar://problem/109577190>

Reviewed by Tyler Wilcock.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::getOrCreateIsolatedTree):
Moved the call to scheduleObjectRegionsUpdate before the creation of the isolated tree so that the relative frame can be cached in the isolated objects that are about to be created.

(WebCore::AXObjectCache::buildIsolatedTree):
Fixed the notifications sent after the whole isolated tree is built.

* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::createEmptyContent):
Set the initial focused object in the newly created empty isolated tree to the WebArea.

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




More information about the webkit-changes mailing list