Closed
Bug 1392867
Opened 7 years ago
Closed 7 years ago
Switch a GetChildAt() call in HTMLEditRules::TryToJoinBlocks() to use something else
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
(deleted),
patch
|
masayuki
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
masayuki
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8900064 -
Flags: review?(masayuki)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8900065 -
Flags: review?(masayuki)
Assignee | ||
Comment 3•7 years ago
|
||
The one in the line below requires a lot more work... I'll deal with that one later.
Comment 4•7 years ago
|
||
Comment on attachment 8900064 [details] [diff] [review]
Part 1: Add an override of EditorUtils::IsDescendantOf() which returns an nsIContent* out argument for the child node found instead of its index in the parent
> Bug 1392867 - Part 1: Add an override of EditorUtils::IsDescendantOf() which
an overload?
Attachment #8900064 -
Flags: review?(masayuki) → review+
Comment 5•7 years ago
|
||
Comment on attachment 8900065 [details] [diff] [review]
Part 2: Avoid calling GetChildAt() in HTMLEditRules::TryToJoinBlocks()
Really nice!
Attachment #8900065 -
Flags: review?(masayuki) → review+
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/30fd4ff28505
Part 1: Add an overload of EditorUtils::IsDescendantOf() which returns an nsIContent* out argument for the child node found instead of its index in the parent; r=masayuki
https://hg.mozilla.org/integration/mozilla-inbound/rev/a93b3e95a267
Part 2: Avoid calling GetChildAt() in HTMLEditRules::TryToJoinBlocks(); r=masayuki
Comment 7•7 years ago
|
||
An nsIContent** outparam that doesn't addref seems like it should be very clearly documented.
Assignee: nobody → ehsan
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/30fd4ff28505
https://hg.mozilla.org/mozilla-central/rev/a93b3e95a267
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4f59a5d13d0
follow-up: Document that the aChild argument won't get AddRef'ed
Comment 10•7 years ago
|
||
bugherder |
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•