|Product:||WebKit||Reporter:||Justin Garcia <justin.garcia>|
|Version:||523.x (Safari 3)|
|OS:||OS X 10.4|
Description Justin Garcia 2007-04-18 17:35:56 PDT
<rdar://problem/3138411> MASTER: document.getSelection() and document.selection window.getSelection() is the most common way to access the selection object, followed by document.getSelection() followed by document.selection. All three return a selection object, that supports various methods/properties depending on what browser the user is running. We support window.getSelection(), but it would probably be a good idea for us to add document.getSelection() and document.selection, for compatibility.
Comment 1 Justin Garcia 2008-01-29 20:18:46 PST
The original radar, <rdar://problem/3138411>, was accidently closed. Opened: <rdar://problem/5714333> Add document.getSelection() and document.selection
Comment 2 Justin Garcia 2008-02-21 16:34:49 PST
Comment 3 Alexey Proskuryakov 2008-02-22 23:19:30 PST
Fixed by Justin in <http://trac.webkit.org/projects/webkit/changeset/30515>.