This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Everything in the spec related to deletion (delete the selection, delete command, forwardDelete command) is just scary. In the course of fixing bug 13830, I had to change a zillion things to fix a cascade of successive regression test failures that I didn't fully understand. The whole thing needs a giant injection of sanity. I probably want to think carefully about what exactly I'm doing at every step and refactor it to be more intuitive. What evil have I wrought? :(
First steps: https://dvcs.w3.org/hg/editing/rev/420aa6a5998b
I don't see much more to change, offhand. If I run into more headaches when doing delete stuff, I guess I'll do more refactoring then of whatever parts seem to be flaky.