Closed Bug 865660 Opened 12 years ago Closed 8 years ago

Write a metrofx selection test for bug 865654

Categories

(Firefox for Metro Graveyard :: Tests, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jimm, Unassigned)

References

Details

(Whiteboard: [selection] p=0)

Attachments

(1 file)

Attached file testcase
When we move text input caret position in response to touch input, we adjust touch coordinates up such that they are in the input vs below the lower boundary. However when dealing with text inputs that have a lot of white space, caretPositionFromPoint can return the wrong offsets for coordinates that land in the white space vs on text, messing up caret position. We should do a better job of centering here somehow to avoid this.
Blocks: 865356
Updating this now that bug 865654 is fixed, the original problem reported is now WFM. We should add a test using this test case so that we can catch future breakage.
Component: Input → Tests
Summary: SelectionHandler should center _onCaretMove coordinates to compensate for bug 865654 → Write a metrofx selection test for bug 865654
Blocks: 957244
Blocks: metrobacklog
Whiteboard: [selection] → [selection] p=0
OS: Windows 8 Metro → Windows 8.1
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: