Closed Bug 1739935 Opened 3 years ago Closed 3 years ago

Make `HTMLEditor::SplitNodeWithTransaction()` return `SplitNodeResult`

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

For making its caller can access original node, new node and around split point with logical named methods, SplitNodeResult should have more members.

Severity: -- → S3
Priority: -- → P3

With this patch, callers of it can handle left and right node logically instead
of assuming that one is split and the other is new one.

Depends on D131748

Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/a5288b3019e7 Make `HTMLEditor::SplitNodeWithTransaction()` return `SplitNodeResult` r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: