Implement missing extend() method of Selection - by Tim Down

Status : 

 


ID 737106 Comments
Status Active Workarounds
Type Bug Repros 2
Opened 4/16/2012 7:38:02 AM
Duplicates 796404 Access Restriction Public

Description

I'm requesting implementation of the extend() method of the Selection object. The spec is here:

https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#dom-selection-extend

IE 9 implemented the Selection object as it was in HTML5 at the time. However, considerable work has been done on the Selection spec since and it has now moved to

https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#selection

The extend() method is important because it's the only way to create a backwards selection programmatically, meaning there's currently no way to do so in IE 10 (or indeed any version of IE). See also https://www.w3.org/Bugs/Public/show_bug.cgi?id=10691
Sign in to post a comment.
Posted by Ben Peters (MSFT) on 8/6/2014 at 10:52 AM
This is also tracked at http://status.modern.ie/selectionapi
Posted by Ben Peters (MSFT) on 8/6/2014 at 10:49 AM
We are tracking this for fix in a future release. Thanks for being persistent!
Posted by Gerard MC on 12/5/2013 at 8:21 AM
I second this request.
Posted by Tim Down on 7/25/2013 at 3:13 PM
I'll try one more time: I think this bug is important and it's a mistake to close it for the following reasons:

1. extend() is the only way to create a backwards selection programmatically. This is a big deal for WYSIWYG editors.
2. extend() is standardized: https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#dom-selection-extend.
3. Every other major browser supports it.

Please reconsider.
Posted by Tim Down on 3/5/2013 at 1:46 PM
Closing as "By Design" doesn't inspire confidence that you're going to do anything about this. I'll just remind you that all other major browsers support this method, and it is standardized.
Posted by Microsoft on 3/5/2013 at 10:04 AM
Thank you for your feedback. We will take your feedback into consideration in our ongoing efforts to improve Internet Explorer.

Best regards,

The Internet Explorer Team
Posted by Microsoft on 4/17/2012 at 7:44 AM
Thank you for your feedback. We will be investigating this issue further.

Best regards,

The Internet Explorer Team