W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 30 Aug 2011 20:28:13 +0000
To: public-webapps@w3.org
Message-ID: <bug-13974-2927@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT