[html5] r6998 - [e] (0) add notes regarding window.find() Affected topics: DOM APIs
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 15 11:26:55 PST 2012
Author: ianh
Date: 2012-02-15 11:26:54 -0800 (Wed, 15 Feb 2012)
New Revision: 6998
Modified:
complete.html
index
source
Log:
[e] (0) add notes regarding window.find()
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2012-02-15 19:09:32 UTC (rev 6997)
+++ complete.html 2012-02-15 19:26:54 UTC (rev 6998)
@@ -74513,9 +74513,16 @@
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 -->
<!-- bugs:
Modified: index
===================================================================
--- index 2012-02-15 19:09:32 UTC (rev 6997)
+++ index 2012-02-15 19:26:54 UTC (rev 6998)
@@ -74513,9 +74513,16 @@
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 -->
<!-- bugs:
Modified: source
===================================================================
--- source 2012-02-15 19:09:32 UTC (rev 6997)
+++ source 2012-02-15 19:26:54 UTC (rev 6998)
@@ -87148,10 +87148,16 @@
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 -->
<!-- bugs:
More information about the Commit-Watchers
mailing list