in DesignMode caret move incorrectly after <br> by using navigation keys

UNCONFIRMED
Unassigned

Status

()

Firefox
Keyboard Navigation
--
critical
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: Almog Baku, Unassigned)

Tracking

19 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
=== Repreducing steps ===
1. create a new div and enbale DesignMode
2. clicking some enters to create a few break-lines(<br>)
3. clicking "up" navigation key
4. create new element after the caret using document.execCommand("insertHTML",false,"<span>bug</span>")

== Result ==
The new bug element created at the line after the caret.
Maybe the cause is that the caret actully move after the break-line element

== Wired thing! ==
When I clicking "left key navigation" to go to the backward line everything works fine!
(Reporter)

Comment 1

5 years ago
I think it pretty similar to old closed issue #336408

Updated

5 years ago
Summary: in DesignMode caret move incorectly after <br> by using navigation keys → in DesignMode caret move incorrectly after <br> by using navigation keys
You need to log in before you can comment on or make changes to this bug.