[Bug 13974] New: Allow Selections to be cloned, saved, etc.

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: dave.null@w3.org
        ReportedBy: ayg@aryeh.name
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


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.

Received on Tuesday, 30 August 2011 20:28:15 UTC