Closed Bug 2033237 Opened 6 months ago Closed 5 months ago

Clicking into contenteditable element can put cursor in nested contenteditable=false element

Categories

(Core :: DOM: Editor, defect)

Firefox 148
defect

Tracking

()

RESOLVED DUPLICATE of bug 1499029

People

(Reporter: psychpsyo, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0

Steps to reproduce:

Consider this HTML:
<!DOCTYPE html>
<div contenteditable style="border: 2px solid">
<span contenteditable="false">FALSE</span>
</div>

Actual results:

When clicking to the right of FALSE, into the empty space in the editable area, one would expect to be able to type. This is not the case. I assume that this is because the caret is placed at the very end inside of the false element instead of right after it.

Expected results:

I should be able to type in this box. (which works in Chromium and WebKit)

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Editor
Product: Firefox → Core
Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Duplicate of bug: 1499029
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.