Open
Bug 733835
Opened 13 years ago
Updated 3 years ago
When typing into a contentEditable span when selection is after is deleted if a space precedes span.
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: firefox, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
660 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Steps to reproduce:
1. Load attached test case.
2. Click SetSelection
3. type a 'q'.
4. Click OutputField.
Note.
If the following is changed from:
"<div> <span id="test" style="background-color: red;"> </span></div>"
to:
"<div><span id="test" style="background-color: red;"> </span></div>"
Actual results:
The following is output
"q "
Expected results:
The following should have been output.
q
Reporter | ||
Comment 1•13 years ago
|
||
If the initial space is removed from the div, then the bug goes away.
and the following is output:
q <br>
Updated•13 years ago
|
Attachment #603780 -
Attachment mime type: text/plain → text/html
Comment 2•13 years ago
|
||
Confirmed on Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120307 Firefox/13.0a1 ID:20120307031051
Keywords: testcase
Version: 10 Branch → Trunk
![]() |
||
Comment 3•12 years ago
|
||
Confirmed with
2007-07-01-04-trunk-firefox-3.0a6pre.en-US.linux-i686
2007-09-01-04-trunk-firefox-3.0a8pre.en-US.linux-i686
2013-08-23-03-02-04-mozilla-central-firefox-26.0a1.en-US.linux-x86_64
missing the feature
2007-06-22-04-trunk-firefox-3.0a6pre.en-US.linux-i686
Component: Untriaged → Editor
Product: Firefox → Core
![]() |
||
Comment 4•12 years ago
|
||
Is bug 832728 the same problem?
Comment 5•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), 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
•