Bug 126948 - AX: FrameSelection::notifyAccessibilityForSelectionChange() calling UAZoomChangeFocus with incorrect rectangle coordinates
Summary: AX: FrameSelection::notifyAccessibilityForSelectionChange() calling UAZoomCha...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.9
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-01-13 17:10 PST by Susumu Harada
Modified: 2014-02-07 11:56 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susumu Harada 2014-01-13 17:10:49 PST
* SUMMARY

In FrameSelectionMac.mm, FrameSelection::notifyAccessibilityForSelectionChange() seems to be calling UAZoomChangeFocus with incorrect rectangle coordinates.

* STEPS TO REPRODUCE

1. Enable zoom and zoom in.
2. Open Safari and size the window so that it is not full screen.
3. In the Safari address bar, type a letter (e.g., "w") that causes the suggestion dropdown to populate.
4. Type additional letters, until the size of the suggestion dropdown updates and changes size.
5. FrameSelection::notifyAccessibilityForSelectionChange should be called when the suggestion dropdown updates and changes size.
6. Monitor the value of cgViewRect and cgCaretRect when #5 happens.

* RESULT

The cgViewRect size seems to match the content view area size, but its position is pegged to the lower-left of the screen.
The position of cgCaretRect also seems to be pegged to the lower-left of the screen.
Comment 1 Radar WebKit Bug Importer 2014-02-07 11:56:33 PST
<rdar://problem/16014354>