- From: <bugzilla@jessica.w3.org>
- Date: Thu, 18 Aug 2011 21:01:16 +0000
- To: public-webapps@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13830 Summary: "Delete the contents" has to be rewritten to delete the selection Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: HTML Editing APIs AssignedTo: ayg@aryeh.name ReportedBy: ayg@aryeh.name QAContact: sideshowbarker+html-editing-api@gmail.com CC: mike@w3.org, public-webapps@w3.org Currently the "delete the contents" algorithm deletes any old range it's given. Every caller except delete/forwardDelete actually deletes the active range. The problem with deleting non-active ranges is it doesn't update the selection correctly. Example: calling delete on <ol><li>foo</li></ol>{}<br> produces <ol><li>foo</li></ol>{} in the current spec because the selection doesn't get moved. delete/forwardDelete can maybe be changed to change the selection before deleting. Or maybe there's some other fix that's better. (This is a minor bug in the current spec, not an issue implementers have to worry about.) -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Thursday, 18 August 2011 21:01:17 UTC