Open
Bug 826069
Opened 12 years ago
Updated 2 years ago
caretPositionFromPoint returns different offset in empty iframe as the selection.focusOffset when clicking on it
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
REOPENED
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
(Keywords: testcase)
See testcase, which is from bug 681387.
Clicking on the iframe results in:
clientX:152 clientY:164
selection.focusNode: [object HTMLPreElement] selection.focusOffset:0
selection.anchorNode: [object HTMLPreElement] selection.anchorOffset:0
caretpositionfrompoint.offsetNode:[object HTMLHtmlElement] caretpositionfrompoint.offset:0
caretpositionfrompoint.offsetNode should be equal to selection.focusNode, which is not the case here.
Assignee | ||
Updated•12 years ago
|
Component: DOM: Other → DOM
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
![]() |
||
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•7 years ago
|
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•