Closed
Bug 1938862
Opened 2 months ago
Closed 26 days ago
Make `EditorBase::InsertBRElement` to stop duplicating same code
Categories
(Core :: DOM: Editor, task)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
136 Branch
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
Details
Attachments
(1 file)
HTMLEditor
needs the following steps when inserting a padding <br>
:
- Create an
HTMLBRElement
- Update its stype
- Insert the
<br>
element - Compute the point before the padding
<br>
to put caret
EditorBase
should have a method to do this.
Assignee | ||
Comment 1•2 months ago
|
||
Depends on D232814
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/2b5d9fe3563a
Create `EditorBase::InsertBRElement` r=m_kato
Comment 3•26 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 26 days ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•