Closed Bug 12677 Opened 25 years ago Closed 25 years ago

[DOGFOOD] need rules code for delete selection

Categories

(Core :: DOM: Editor, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: akkzilla, Assigned: mozeditor)

References

Details

(Whiteboard: [PDT+])

Joe writes:
need rules code for delete selection.  If you select an <hr>, delete it, then
hit backspace again, you will delete an entire block of text (assuming there is
some nearby) rather than a single character.  The root of this problem is that
the low level delete code can't be psychic and deduce what kind of elements
should be "stepped into" when you hit backspace, vs what kind of elements should
be deleted outright.  Needed for dogfood.
Blocks: 12658
Adding dogfood dependency.
accepting bugs; setting to m11
*** Bug 9576 has been marked as a duplicate of this bug. ***
Target Milestone: M11 → M12
moved to M12.
Whiteboard: [PDT+]
Putting on [PDT]+ radar.
Priority: P3 → P1
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This has been fixed for a while.  I only left it open to remind myself that we
needed table-specific deletion rules.  But there is a seperate bug on that now:
16481.

Sujay: test case for verifying this bug is to bring up the editor test page,
select the HRule, delete it, then continue deleting and see that the text before
the hrule deletes one character at a time (it used to all delete at once).
Blocks: 17907
Status: RESOLVED → VERIFIED
verified in 11/4 build.
No longer blocks: 17907
You need to log in before you can comment on or make changes to this bug.