Closed
Bug 544503
Opened 15 years ago
Closed 13 years ago
Editor should not observe all mutations on the document if it's initialized with a root node
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fixed by bug 545775])
Reporter | ||
Comment 1•15 years ago
|
||
OK. This mutation observer was added in bug 335856. It looks to me like this code is wholly unnecessary for the case when the editor is initialized with a given root. Peter, is that correct? If not, what parts of it are needed? Certainly in the text control case this code never gets triggered in a useful way!
Reporter | ||
Comment 2•15 years ago
|
||
Ehsan said he can take this, but Peter's feedback here would still be really nice.
Assignee: nobody → ehsan.akhgari
Comment 3•15 years ago
|
||
Yeah, afaics that should be fine.
Comment 4•13 years ago
|
||
So bug 545775 part 4 moved the observers from nsEditor to nsHTMLEditor. Is this bug still relevant?
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Aryeh Gregor from comment #4)
> So bug 545775 part 4 moved the observers from nsEditor to nsHTMLEditor. Is
> this bug still relevant?
No! :-)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 545775]
You need to log in
before you can comment on or make changes to this bug.
Description
•