Skip to content

Commit

Permalink
[e] (0) add notes regarding window.find()
Browse files Browse the repository at this point in the history
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@6998 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 15, 2012
1 parent 2a0fafc commit 2a57bf2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
11 changes: 9 additions & 2 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -74513,8 +74513,15 @@ <h3 id=text-search-apis><span class=secno>8.7 </span>Text search APIs</h3> <!--
implemented, and has a number of design problems (such as having six
boolean arguments in a row, giving the ability to expose a UA
dialog, affecting the selection when successful, etc). We may just
drop it instead. <a href=http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/thread.html#31457>Read
more...</a></p>
drop it instead.</p>

<!-- use case seems to be to just have an API that allows scripts to
search for text, then manipulate it (e.g. execCommand).
Unfortunately it currently destroys the selection to do so (though I
guess you can save it and restore it). We could provide an API for
this instead, but it would require changes to execCommand() to work
on ranges rather than the selection (probably needed anyway, but not
being worked on as of now) -->

<!-- demo: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1076 -->

Expand Down
11 changes: 9 additions & 2 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -74513,8 +74513,15 @@ dictionary <dfn id=drageventinit>DragEventInit</dfn> : <a href=#mouseeventinit>M
implemented, and has a number of design problems (such as having six
boolean arguments in a row, giving the ability to expose a UA
dialog, affecting the selection when successful, etc). We may just
drop it instead. <a href=http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/thread.html#31457>Read
more...</a></p>
drop it instead.</p>

<!-- use case seems to be to just have an API that allows scripts to
search for text, then manipulate it (e.g. execCommand).
Unfortunately it currently destroys the selection to do so (though I
guess you can save it and restore it). We could provide an API for
this instead, but it would require changes to execCommand() to work
on ranges rather than the selection (probably needed anyway, but not
being worked on as of now) -->

<!-- demo: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1076 -->

Expand Down
12 changes: 9 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -87148,9 +87148,15 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
implemented, and has a number of design problems (such as having six
boolean arguments in a row, giving the ability to expose a UA
dialog, affecting the selection when successful, etc). We may just
drop it instead. <a
href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/thread.html#31457">Read
more...</a></p>
drop it instead.</p>

<!-- use case seems to be to just have an API that allows scripts to
search for text, then manipulate it (e.g. execCommand).
Unfortunately it currently destroys the selection to do so (though I
guess you can save it and restore it). We could provide an API for
this instead, but it would require changes to execCommand() to work
on ranges rather than the selection (probably needed anyway, but not
being worked on as of now) -->

<!-- demo: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1076 -->

Expand Down

0 comments on commit 2a57bf2

Please sign in to comment.