-
- Downloads
Bug 1819741: Constrain acc bounds to that of scroll areas for hit testing, r=morgan
This revision adds logic to BoundsWithOffset to ensure that bounds, when calculated for hit testing, are constrained to the scroll areas that contain them. This ensures that we don't return an Accessible that's covered by another element when hit testing due to overflow: scroll situations. This revision also contains a fix for transforms and scroll: we now apply scroll before any transform, since transforms operate on scrolled content. This revision contains tests for both of the above changes. Differential Revision: https://phabricator.services.mozilla.com/D173392
Showing
- accessible/ipc/RemoteAccessibleBase.cpp 37 additions, 9 deletionsaccessible/ipc/RemoteAccessibleBase.cpp
- accessible/ipc/RemoteAccessibleBase.h 5 additions, 2 deletionsaccessible/ipc/RemoteAccessibleBase.h
- accessible/tests/browser/bounds/browser_test_simple_transform.js 27 additions, 0 deletions...ble/tests/browser/bounds/browser_test_simple_transform.js
- accessible/tests/browser/hittest/browser.ini 1 addition, 0 deletionsaccessible/tests/browser/hittest/browser.ini
- accessible/tests/browser/hittest/browser_test_scroll_hittest.js 105 additions, 0 deletions...ible/tests/browser/hittest/browser_test_scroll_hittest.js
Loading
Please register or sign in to comment