- From: <erik@ictenablers.com>
- Date: Wed, 17 Sep 2014 11:06:16 -0700
- To: public-webapps@w3.org
- Cc: ayg@aryeh.name
Received on Thursday, 18 September 2014 09:33:57 UTC
Dear all, My interpretation of the suggested selection.extend is that it can not select based on how the text is displayed. I'm thinking in particular of the feature to extend to the lineboundary, like this: var selectionPoint = window.getSelection(); selectionPoint.modify('extend','backward','lineboundary'); Supported by most browsers (not IE) this could be used to for example select or highlight a line of text that the user clicks on. This feature can have both practical and accessibility uses. Best regards, Erik
Received on Thursday, 18 September 2014 09:33:57 UTC