--- a/editcommands.html Tue Jul 05 15:38:01 2011 -0600
+++ b/editcommands.html Tue Jul 05 15:42:44 2011 -0600
@@ -5765,9 +5765,6 @@
<p><a href=#action>Action</a>:
-<p class=XXX>Handle corner cases: endpoints are detached, documents, document
-fragments, html/body, head or things in head . . .
-
<p class=XXX>Does not handle cases where block-extending the selection leaves
it collapsed, like <code title=""><p>foo</p>{}<p>bar</p></code>.
However, it's not clear if any such selection can be generated by the user:
@@ -6336,9 +6333,6 @@
height, so the user won't be able to put the selection cursor inside it. -->
<p class=XXX>Needs to also happen if there are only comments/whitespace/etc.
- Also, this can leave stray useless br's lying around. Probably when the user
- starts typing, we want to remove the br. On the flip side, if the user
- deletes all the contents of a paragraph, we likely need to add a br.
<li>Set the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-range-start title=concept-range-start>start</a> of <var title="">range</var> to (<var title="">new container</var>,
0).
--- a/source.html Tue Jul 05 15:38:01 2011 -0600
+++ b/source.html Tue Jul 05 15:42:44 2011 -0600
@@ -5772,9 +5772,6 @@
<p><span>Action</span>:
-<p class=XXX>Handle corner cases: endpoints are detached, documents, document
-fragments, html/body, head or things in head . . .
-
<p class=XXX>Does not handle cases where block-extending the selection leaves
it collapsed, like <code title><p>foo</p>{}<p>bar</p></code>.
However, it's not clear if any such selection can be generated by the user:
@@ -6354,9 +6351,6 @@
height, so the user won't be able to put the selection cursor inside it. -->
<p class=XXX>Needs to also happen if there are only comments/whitespace/etc.
- Also, this can leave stray useless br's lying around. Probably when the user
- starts typing, we want to remove the br. On the flip side, if the user
- deletes all the contents of a paragraph, we likely need to add a br.
<li>Set the [[rangestart]] of <var>range</var> to (<var>new container</var>,
0).