Closed
Bug 1171858
Opened 9 years ago
Closed 9 years ago
ContentEventHandler::OnQueryCaretRect() should honor writing mode when it guesses caret rect from frame's point
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 2 open bugs)
Details
(Keywords: inputmethod)
Attachments
(1 file)
2.81 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
First, when caret isn't show in the specified offset, caret rect is guessed from text rect at the offset. However, it doesn't check writing mode.
Additionally, the caret height (or width in vertical writing mode) is computed by frame's height because at implementing the method, the frame is assumed that it's always a textframe. But not so. So, we should refer the font height for that. This is same as nsCaret.
http://mxr.mozilla.org/mozilla-central/source/layout/base/nsCaret.cpp?rev=d9e2afd7c146&mark=330-339#309
Attachment #8616030 -
Flags: review?(bugs)
Updated•9 years ago
|
Attachment #8616030 -
Flags: review?(bugs) → review+
Comment 3•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•