Closed Bug 1977507 Opened 1 year ago Closed 1 year ago

Support getting character bounds for end of line insertion point with UIA

Categories

(Core :: Disability Access APIs, defect)

Desktop
Windows
defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

(Whiteboard: [uiaFastFollow])

Attachments

(1 external file)

Bug 1966812 made it possible to get the caret rect on demand, including for the end of line insertion point. While this makes it possible to get the character bounds in this case, this is not yet utilised by UIA. This either needs to be done in UIA specific code or abstracted somehow in the cross-platform code.

STR:

  1. Enable Windows Text Cursor Indicator.
  2. Open this:
    data:text/html,<textarea>a%0A%0A</textarea>
  3. Move to the final (blank) line.
    • Expected: The Windows Text Cursor Indicator moves to the final line.
    • Actual: Firefox's text insertion cursor moves to the final line. However, the Windows Text Cursor Indicator is on the first blank line.
Pushed by jteh@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e850d50324fe https://hg.mozilla.org/integration/autoland/rev/84beb11a4291 UiaTextRange::GetBoundingRectangles: Use the caret rect when querying the caret at the end of line insertion point. r=eeejay
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
Blocks: 1950754
Blocks: 1950767
Whiteboard: [uiaFastFollow]--do_not_change--
Whiteboard: [uiaFastFollow]--do_not_change-- → [uiaFastFollow]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: