Closed
Bug 369959
Opened 18 years ago
Closed 18 years ago
Backspace deletes the character in front of the caret, after deleting a span
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
People
(Reporter: uriber, Assigned: uriber)
References
()
Details
(Keywords: regression, testcase)
Attachments
(1 file)
|
1.19 KB,
patch
|
brettw
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reproduce:
- Open attachment 254610 [details] (from bug 369938, reported by Tom L. Snyder).
- Place the caret right before the "b" in "backspace" on the first line.
- Press backspace 8 times.
- Notice that the "b" was deleted.
This regressed between 2006-08-21-04 and 2006-08-22-04:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-08-21+03%3A00+&maxdate=2006-08-22+05%3A00+&cvsroot=%2Fcvsroot
Nothing in this range seems obvious.
Comment 1•18 years ago
|
||
Narrowed down a bit: 2006-08-21:14 - 2006-08-21:16
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-08-21+13%3A00&maxdate=2006-08-21+17%3A00
| Assignee | ||
Comment 2•18 years ago
|
||
Looks like a regression from bug 348854.
| Assignee | ||
Comment 3•18 years ago
|
||
The is what the patch to bug 345587 originally had.
The patch in bug 348854 added a GetCharAfter() instead of a GetCharBefore().
Assignee: nobody → uriber
Status: NEW → ASSIGNED
Attachment #254658 -
Flags: superreview?(bryner)
Attachment #254658 -
Flags: review?
| Assignee | ||
Updated•18 years ago
|
Attachment #254658 -
Flags: review? → review?(brettw)
Comment 4•18 years ago
|
||
Comment on attachment 254658 [details] [diff] [review]
patch
Looks good.
Attachment #254658 -
Flags: review?(brettw) → review+
Updated•18 years ago
|
Attachment #254658 -
Flags: superreview?(bryner) → superreview+
| Assignee | ||
Comment 5•18 years ago
|
||
Checking in mozilla/editor/libeditor/html/nsWSRunObject.cpp;
/cvsroot/mozilla/editor/libeditor/html/nsWSRunObject.cpp,v <-- nsWSRunObject.cpp
new revision: 1.43; previous revision: 1.42
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
OS: Mac OS X → All
Hardware: Macintosh → All
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•