Closed
Bug 266973
Opened 21 years ago
Closed 3 years ago
nsHTMLEditor::GetElementOrigin does weird things
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 364719
People
(Reporter: bzbarsky, Unassigned)
Details
For some reason, GetElementOrigin() computes the offset from the element's
primary frame to the first ancestor whose view has a widget.
Looking over the callers of this function, they seem to want an offset from the
frame tree root or from the nearest positioned ancestor... anything but "nearest
ancestor with a widget".
| Reporter | ||
Comment 1•21 years ago
|
||
To Daniel, since he wrote this code, so hopefully knows what it's trying to do...
Assignee: mozeditor → daniel
Updated•18 years ago
|
QA Contact: bugzilla → editor
Comment 2•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last months and this bug has severity 'major'.
:hsinyi, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: daniel → nobody
Flags: needinfo?(htsai)
Comment 3•3 years ago
|
||
Masayuki refactored the code a lot in the past years. Is this still valid?
Flags: needinfo?(htsai) → needinfo?(masayuki)
Comment 4•3 years ago
|
||
It seems that this is a dup of bug 364719. The wrong code has already been replaced.
https://searchfox.org/mozilla-central/diff/71642344d09e73aec3e3de1f95e5b02888816051/editor/libeditor/html/nsHTMLEditor.cpp#5817
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(masayuki)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•