Re: [selection] Selection.setBaseAndExtent

2014-09-10 Thread Ryosuke Niwa
eters; public-webapps > Subject: Re: [selection] Selection.setBaseAndExtent > > Focus and anchor are different concepts from base and extent. While the > former always coincide with start and end, base and extent may be different > from those two. > > In particular, when a user

Re: [selection] Selection.setBaseAndExtent

2014-08-07 Thread Tim Down
for >> this? >> >> >> >> *From:* Ryosuke Niwa [mailto:rn...@apple.com] >> *Sent:* Wednesday, August 6, 2014 12:43 PM >> *To:* James M. Greene >> *Cc:* Ben Peters; public-webapps >> *Subject:* Re: [selection] Selection.setBaseAndExtent >> >

RE: [selection] Selection.setBaseAndExtent

2014-08-06 Thread Ben Peters
Peters Cc: Ryosuke Niwa; James M. Greene; public-webapps Subject: Re: [selection] Selection.setBaseAndExtent For what its worth, we plan to remove base and extent from Blink/Chromium (https://code.google.com/p/chromium/issues/detail?id=230267). We've found that developers do not understan

Re: [selection] Selection.setBaseAndExtent

2014-08-06 Thread Julie Parent
n...@apple.com] > *Sent:* Wednesday, August 6, 2014 12:43 PM > *To:* James M. Greene > *Cc:* Ben Peters; public-webapps > *Subject:* Re: [selection] Selection.setBaseAndExtent > > > > Focus and anchor are different concepts from base and extent. While the > former always coincide wi

RE: [selection] Selection.setBaseAndExtent

2014-08-06 Thread Ben Peters
t: Re: [selection] Selection.setBaseAndExtent Focus and anchor are different concepts from base and extent. While the former always coincide with start and end, base and extent may be different from those two. In particular, when a user selects text by double clicking on a word, base and e

Re: [selection] Selection.setBaseAndExtent

2014-08-06 Thread Ryosuke Niwa
length ([DOM4]). Otherwise, it must create a new range, >> set ([DOM4]) its start to (baseNode, baseOffset) and its and end to >> (extentNode, extentOffset), and set the context object's range to the >> newly-created range. >> >> >> >> From: Ben Peter

Re: [selection] Selection.setBaseAndExtent

2014-08-06 Thread Tim Down
d end to > (extentNode, extentOffset), and set the context object's range to the > newly-created range. > > > > *From:* Ben Peters > *Sent:* Tuesday, May 20, 2014 11:37 AM > *To:* Ben Peters; Ryosuke Niwa; public-webapps@w3.org > *Subject:* RE: [selection] Selection.set

RE: [selection] Selection.setBaseAndExtent

2014-08-05 Thread Ben Peters
?This API is already used on the web so we should probably keep it as-is. From: James M. Greene Sent: Tuesday, August 5, 2014 4:58 PM To: Ben Peters Cc: Ryosuke Niwa; public-webapps Subject: RE: [selection] Selection.setBaseAndExtent For consistent terminology

RE: [selection] Selection.setBaseAndExtent

2014-08-05 Thread James M. Greene
*Sent:* Tuesday, May 20, 2014 11:37 AM > *To:* Ben Peters; Ryosuke Niwa; public-webapps@w3.org > *Subject:* RE: [selection] Selection.setBaseAndExtent > > > > I have filed a bug to track this issue [1]. > > > > Ben > > > > [1] https://www.w3.org/Bugs/Public/show_bug

RE: [selection] Selection.setBaseAndExtent

2014-08-05 Thread Ben Peters
1:37 AM To: Ben Peters; Ryosuke Niwa; public-webapps@w3.org Subject: RE: [selection] Selection.setBaseAndExtent I have filed a bug to track this issue [1]. Ben [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25831 From: Ben Peters [mailto:ben.pet...@microsoft.com] Sent: Monday, May 5, 2014 1

Re: [selection] Selection.setBaseAndExtent

2014-05-31 Thread Ryosuke Niwa
Monday, May 5, 2014 11:28 PM > To: Ryosuke Niwa; public-webapps@w3.org > Subject: [selection] Selection.setBaseAndExtent > > I noticed that some websites use selection.setBaseAndExtent [1]. According to > what limited documentation I could find, it works similar to > selection

RE: [selection] Selection.setBaseAndExtent

2014-05-20 Thread Ben Peters
I have filed a bug to track this issue [1]. Ben [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25831 From: Ben Peters [mailto:ben.pet...@microsoft.com] Sent: Monday, May 5, 2014 11:28 PM To: Ryosuke Niwa; public-webapps@w3.org Subject: [selection] Selection.setBaseAndExtent I noticed that

[selection] Selection.setBaseAndExtent

2014-05-05 Thread Ben Peters
I noticed that some websites use selection.setBaseAndExtent [1]. According to what limited documentation I could find, it works similar to selection.extend. Is there any intention to standardize this, or is it made obsolete by selection.extend? Ben [1] http://stackoverflow.com/questions/98527