Closed
Bug 272814
Opened 21 years ago
Closed 21 years ago
beginAddingChildren notification should be called before attributeSet.
Categories
(Core Graveyard :: XTF, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(1 file, 1 obsolete file)
2.64 KB,
patch
|
bryner
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a6) Gecko/20041126
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a6) Gecko/20041126
I think beginAddingChildren notification should be called before the first
attributeSet. This way it is easier to support dynamic DOM modifications.
Patch coming.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #167660 -
Flags: superreview?(bryner)
Attachment #167660 -
Flags: review?(bryner)
Comment 2•21 years ago
|
||
but an attribute is not really a child of an element is it?
Assignee | ||
Comment 3•21 years ago
|
||
no, it is not, but this is just about ordering of the notifications.
we could also add again one new notification, called startParsingContent or
something, or rename beginAddingChildren, or even more, add two notifications
beginAddingAttributes, doneAddingAttributes. But I don't think those
are really needed.
Comment 4•21 years ago
|
||
Comment on attachment 167660 [details] [diff] [review]
fix
makes sense to me. r=darin
but, can you please add documentation to nsIXTFElement explaining the
relationship of this event to the other events?
Attachment #167660 -
Flags: review?(bryner) → review+
Assignee | ||
Comment 5•21 years ago
|
||
Attachment #167660 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #167686 -
Flags: superreview?(bryner)
Assignee | ||
Updated•21 years ago
|
Attachment #167660 -
Flags: superreview?(bryner)
Assignee | ||
Updated•21 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Updated•21 years ago
|
Assignee: alex → smaug
Status: ASSIGNED → NEW
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Updated•21 years ago
|
Attachment #167686 -
Flags: superreview?(bryner) → superreview+
Comment 6•21 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•