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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected], [email protected]
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.