[Bug 10691] New: Specify extend method for Selection objects

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

           Summary: Specify extend method for Selection objects
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: timdown@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Recent versions of Mozilla, WebKit and Opera all include an extend() method of
their Selection objects, implemented (as far as I can tell) identically. I
suggest HTML5 should specify this method, for two reasons:

1. It is a de facto standard among the more standards-compliant browsers
2. Vitally, it provides a mechanism for programmatically creating a backwards
(i.e. where the focus point comes before the anchor point within the document)
selection, which otherwise can be created by the user by dragging "backwards"
but not programmatically.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 22 September 2010 22:48:02 UTC