Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d1bde91692585bf382dee6829002f2ebffa08bd
https://github.com/WebKit/WebKit/commit/0d1bde91692585bf382dee6829002f2ebffa08bd
Author: Joshua Hoffman <[email protected]>
Date: 2026-03-18 (Wed, 18 Mar 2026)
Changed paths:
A
LayoutTests/accessibility/mac/page-scale-factor-updates-frame-geometry-expected.txt
A
LayoutTests/accessibility/mac/page-scale-factor-updates-frame-geometry.html
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
AX: When the page scale changes, FrameGeometry needs to be updated
https://bugs.webkit.org/show_bug.cgi?id=310152
rdar://172792054
Reviewed by Tyler Wilcock.
With ACCESSIBILITY_LOCAL_FRAME enabled, `m_frameGeometry` (stored in in the
AXObjectCache)
is still after page scale changes (zoom, viewport scale, pinch zoom, etc.). We
need to re-
compute the page scale for all frames whenever this changes. By hooking into
`pageScaleFactorDidChange`, we can do this all from the UI process to limit
this to one-way
IPC (UI -> web process), rather than a round trip from the web process.
Test: accessibility/mac/page-scale-factor-updates-frame-geometry.html
*
LayoutTests/accessibility/mac/page-scale-factor-updates-frame-geometry-expected.txt:
Added.
* LayoutTests/accessibility/mac/page-scale-factor-updates-frame-geometry.html:
Added.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::pageScaleFactorDidChange):
Canonical link: https://commits.webkit.org/309478@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications