Closed Bug 1849807 Opened 2 years ago Closed 2 years ago

Unnecessary `<br>` elements are inserted between block boundaries when selecting all things between them

Categories

(Core :: DOM: Editor, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: masayuki, Unassigned)

References

()

Details

See the test case. 2 <br> elements are inserted unexpectedly. Only one <br> element should be inserted instead.

Flags: needinfo?(jjaschke)

This is reproducible with older builds. Therefore, this is not a new regression.

Sorry, I was confused.

If there is something which made the first line visible, replacing it with a line break should add a line break after making the first line empty.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jjaschke)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.