nsHTMLEditor::GetElementOrigin does weird things

NEW
Assigned to

Status

()

--
major
14 years ago
12 years ago

People

(Reporter: bzbarsky, Assigned: glazou)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
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

14 years ago
To Daniel, since he wrote this code, so hopefully knows what it's trying to do...
Assignee: mozeditor → daniel
QA Contact: bugzilla → editor
You need to log in before you can comment on or make changes to this bug.