Closed Bug 266973 Opened 21 years ago Closed 3 years ago

nsHTMLEditor::GetElementOrigin does weird things

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
major

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".
To Daniel, since he wrote this code, so hopefully knows what it's trying to do...
Assignee: mozeditor → daniel
QA Contact: bugzilla → editor
QA Whiteboard: qa-not-actionable

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)

Masayuki refactored the code a lot in the past years. Is this still valid?

Flags: needinfo?(htsai) → needinfo?(masayuki)
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.