Open
Bug 829426
Opened 12 years ago
Updated 2 years ago
pressing Enter after selecting multiple li elements causes subsequent typing to have no effect in a contenteditable div
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: testing9999, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [h2review-noted])
Attachments
(1 file)
9.50 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 Safari/537.11 Steps to reproduce: 1. Paste the following into the address bar: data:text/html,<html><div contenteditable="true" style="height:300px; width:200px; border: solid black 1px; position:absolute; left:20px">testing<ol><li>test1</li><li>test2</li><li>test3</li><li>test4</li></ol>testing</div></html> 2. Double click the first list item and select it together with the second list item. 3. Press enter. 4. Type some characters. Actual results: After step 3, the cursor appears to be indented. Step 4 has no effect at all. Moving the cursor out and back to the same position and typing again still has no effect. See attached screen shot showing position of the cursor. Expected results: The behavior should be the same as selecting an entire list item and pressing Enter, where the list escapes, and the cursor exits the list.
Comment 1•12 years ago
|
||
Confirm this in Latest Nightly Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:21.0) Gecko/20130114 Firefox/21.0 Build ID: 20130114031033 Also reproducible in Latest Nightly for Windows 7.
Component: Untriaged → DOM: Core & HTML
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Updated•12 years ago
|
Version: 18 Branch → Trunk
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•12 years ago
|
||
Confirmed the issue also on Firefox 4.0.
Updated•6 years ago
|
Summary: pressing Enter after selecting multiple li elements causes subsequent typing to have no effect in a contentedtiable div → pressing Enter after selecting multiple li elements causes subsequent typing to have no effect in a contenteditable div
Comment 4•6 years ago
|
||
Blink and Edge becomes <div contenteditable><div>....</div><ol>...</ol></div> Gecko is <div contenteditable><ol><br>...</ol></div> Hmm, Gecko is strange.
Blocks: editor-blink-compat
Comment 5•4 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Confirmed
Simplified test
- open data:text/html,<ol contenteditable><br><li>^
- put cursor above ^
- type
ER: characters appear (chrome)
AR: nothing
Should it be separated in another issue?
Updated•4 years ago
|
status-firefox75:
--- → affected
status-firefox76:
--- → affected
Updated•4 years ago
|
Whiteboard: [h2review-noted]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•