RESOLVED FIXED 257045
AX: Schedule the accessibility regions paint before building the isolated tree.
https://bugs.webkit.org/show_bug.cgi?id=257045
Summary AX: Schedule the accessibility regions paint before building the isolated tree.
Andres Gonzalez
Reported 2023-05-19 12:11:03 PDT
This is important during the creation of the isolated tree in order to cache RelativeFrames as the isolated objects are created.
Attachments
Patch (5.72 KB, patch)
2023-05-19 12:33 PDT, Andres Gonzalez
no flags
Patch (5.46 KB, patch)
2023-05-22 06:04 PDT, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2023-05-19 12:11:20 PDT
Andres Gonzalez
Comment 2 2023-05-19 12:33:02 PDT
Tyler Wilcock
Comment 3 2023-05-19 14:09:16 PDT
Comment on attachment 466425 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=466425&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:177 > + else if (object.isScrollView() || object.isWebArea() || object.isScrollbar()) { Scrollbars currently aren't handled in PaintPhase::Accessibility, so by caching this here we will never update it, which probably isn't right.
Andres Gonzalez
Comment 4 2023-05-22 06:04:11 PDT
Andres Gonzalez
Comment 5 2023-05-22 06:22:35 PDT
(In reply to Tyler Wilcock from comment #3) > Comment on attachment 466425 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=466425&action=review > > > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:177 > > + else if (object.isScrollView() || object.isWebArea() || object.isScrollbar()) { > > Scrollbars currently aren't handled in PaintPhase::Accessibility, so by > caching this here we will never update it, which probably isn't right. Removed that change and filed rdar://109655440 to handle scrollbars in PaintPhase::Accessibility.
EWS
Comment 6 2023-05-22 06:57:21 PDT
Committed 264320@main (1e29a8fa8f79): <https://commits.webkit.org/264320@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 466447 [details].
Tyler Wilcock
Comment 7 2023-05-22 09:31:35 PDT
(In reply to Andres Gonzalez from comment #5) > (In reply to Tyler Wilcock from comment #3) > > Comment on attachment 466425 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=466425&action=review > > > > > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:177 > > > + else if (object.isScrollView() || object.isWebArea() || object.isScrollbar()) { > > > > Scrollbars currently aren't handled in PaintPhase::Accessibility, so by > > caching this here we will never update it, which probably isn't right. > > Removed that change and filed rdar://109655440 to handle scrollbars in > PaintPhase::Accessibility. The patch you landed is still caching the frame for object.isScrollbar(), so I think that's not right.
Note You need to log in before you can comment on or make changes to this bug.