Open
Bug 459212
Opened 16 years ago
Updated 2 years ago
The _moz_dirty attribute could be moved into node properties
Categories
(Core :: DOM: Editor, enhancement, P5)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: laurent, Unassigned)
Details
In the current implementation of the editor, there is a _moz_dirty attribute added to all new default elements created by the editor. It tells to the serializer that the content of this element doesn't have text node with whitespace, and then it should serialize the element in the formatted mode in order to keep readable the source code, even if the serializer is in a raw mode. This information is in an attribute, it is not very "clean", but for the moment this is an "acceptable compromise between beauty and complexity" (quote by Glazou :-)) However, Olli propose to move it into a nsINode property for example. The future implementation should take care about one behavior : this information should be duplicated on cloned elements (for an example, during a copy/past operation in the editor).
Comment 1•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•