Closed Bug 1179082 Opened 9 years ago Closed 9 years ago

ContentEventHandler::OnQueryCaretRect() should guess caret rect when the selection is collapsed but there is no caret frame

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

ContentEventHandler::OnQueryCaretRect() uses actual caret rect when caret exists at the queried offset. However, if there is no caret frame, it gives up to return caret rect without guessing the result.
Attached patch PatchSplinter Review
So, if there is no caret frame, OnQueryCaretRect() should guess the caret rect.
Attachment #8628193 - Flags: review?(bugs)
Attachment #8628193 - Flags: review?(bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: