Clicking into contenteditable element can put cursor in nested contenteditable=false element
Categories
(Core :: DOM: Editor, defect)
Tracking
()
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)
Comment 1•6 months ago
|
||
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.
Updated•5 months ago
|
Description
•