http://www.w3.org/Bugs/Public/show_bug.cgi?id=13974

           Summary: Allow Selections to be cloned, saved, etc.
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DOM Range
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]


Currently there's exactly one Selection in existence per Document.  It would be
useful to allow authors to create additional selections that don't correspond
to the user-visible one.  They could then use methods like modify() on it, we
could let them use execCommand() on it, etc.  We could also let them save and
restore the selection this way, together with all its associated info (at least
direction).

Specifically, we might want Selection.cloneSelection(),
document.newSelection(), and document.replaceSelection() or something like
that.

-- 
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.

Reply via email to