Open
Bug 1216239
Opened 10 years ago
Updated 5 years ago
Cursor shows at wrong position when ::after-content used inside contenteditable
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
NEW
People
(Reporter: dusty.jewett, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/45.0.2454.101 Chrome/45.0.2454.101 Safari/537.36
Steps to reproduce:
1. Have a contenteditable div
2. Have a non-CE span with an ::after{content:'@'} in it, as the last item.
3. Click to the right of the span to focus after it.
(Example page here: http://jsbin.com/vujawe/edit?html,output)
Actual results:
Cursor appears between the actual content of the span, and the ::after content of the span.
Expected results:
Cursor should appear after the ::after content.
The issue does not require the span to be non-CE, but this ensures that the focus cannot be inside the span, and hence, be a valid location.
Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Component: Untriaged → Editor
Product: Firefox → Core
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•5 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•