Closed Bug 1417320 Opened 8 years ago Closed 8 years ago

ReturnInParagraph should have Element parameter instead of nsINode

Categories

(Core :: DOM: Editor, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

No description provided.
Comment on attachment 8928422 [details] Bug 1417320 - ReturnInParagraph should have Element parameter instead of nsINode. https://reviewboard.mozilla.org/r/199650/#review204744 ::: editor/libeditor/HTMLEditRules.h:324 (Diff revision 1) > - nsresult SplitParagraph(nsIDOMNode* aPara, > + nsresult SplitParagraph(Element& aPara, > nsIContent* aBRNode, > - Selection* aSelection, > + Selection& aSelection, I like make wider object like Selection first in argument list, but up to you because anyway, we need to make this method use EditorRawDOMPoint later.
Attachment #8928422 - Flags: review?(masayuki) → review+
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/f139f5b4ee78 ReturnInParagraph should have Element parameter instead of nsINode. r=masayuki
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: