Open Bug 1805900 Opened 2 years ago Updated 2 years ago

Can't move past non-editable span within contenteditable

Categories

(Core :: DOM: Selection, defect, P4)

defect

Tracking

()

People

(Reporter: nemostrayed, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Steps to reproduce:

Notes: The input field is a contenteditable.
The word 'span' is written within a span that itself is not editable.

Actual results:

You can't go past the word 'span'

Expected results:

You should be able to go past the word 'span', because there is an empty text node there.
It actually works when you click.

Component: Untriaged → DOM: Editor
Product: Firefox → Core

Masayuki, I'm pretty certain that this a P4/S4 but if I'm wrong can you please set correct ones.

Severity: -- → S4
Flags: needinfo?(masayuki)
Priority: -- → P4

I think it's fine, but I also think this is a bug of Selection. Although even if Selection code allows to move caret after it, typing text may be appended to the previous editable text node. Anyway, we need to make Selection allow to put caret after non-editable node.

Status: UNCONFIRMED → NEW
Component: DOM: Editor → DOM: Selection
Ever confirmed: true
Flags: needinfo?(masayuki)
OS: Unspecified → All
Hardware: Unspecified → All

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P4 → --
You need to log in before you can comment on or make changes to this bug.