Open Bug 1925424 Opened 8 days ago Updated 8 days ago

The delete handlers of `HTMLEditor` should use first selection range to clean up unnecessary line breaks if preceding handler does not suggest caret position

Categories

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

defect

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

They call HTMLEditor::EnsureNoFollowingUnnecessaryLineBreak with suggested caret position. However, it may be not suggested or not set due to preserving the selection. In such case, the method should be called with first selection range.

You need to log in before you can comment on or make changes to this bug.