Open
Bug 1453893
Opened 7 years ago
Updated 1 year ago
Selection.extend() does not work on an element that has contenteditable="false"
Categories
(Core :: DOM: Selection, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: patricia.mihut, 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/65.0.3325.181 Safari/537.36
Steps to reproduce:
In Firefox, if there is an element that has contenteditable = 'false', when selection.extend() is called on it, a NS_ERROR_FAILURE is thrown in the console. And the highlighting is not visible due to the fact that it is built using selection.extend() - this is the case for Chrome, which works perfectly.
Expected results:
Selection.extend() should work exactly how it does on an element with contenteditable"true" and the highlighting should be visible
Updated•7 years ago
|
Component: Untriaged → Selection
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Blocks: contenteditable-false
You need to log in
before you can comment on or make changes to this bug.
Description
•