Demote another XXX to TODO
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Tue, 12 Jul 2011 15:27:50 -0600
changeset 404 69af92f68feb
parent 403 2c30e145f765
child 405 1884c1a21123
Demote another XXX to TODO
editcommands.html
source.html
--- a/editcommands.html	Tue Jul 12 15:23:52 2011 -0600
+++ b/editcommands.html	Tue Jul 12 15:27:50 2011 -0600
@@ -6353,8 +6353,8 @@
   <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-range-start title=concept-range-start>start</a> <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-boundary-point-node title=concept-boundary-point-node>node</a> and <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-boundary-point-offset title=concept-boundary-point-offset>offset</a>.
 
   <li>If <var title="">node</var> is a <code class=external data-anolis-spec=domcore><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node, and <var title="">offset</var> is neither 0
-  nor the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-node-length title=concept-node-length>length</a> of <var title="">node</var>, call <code class=external data-anolis-spec=domcore title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText(<var title="">offset</var>)</a></code> on
-  <var title="">node</var>.
+  nor the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-node-length title=concept-node-length>length</a> of <var title="">node</var>, call
+  <code class=external data-anolis-spec=domcore title=dom-Text-splitText><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-text-splittext>splitText(<var title="">offset</var>)</a></code> on <var title="">node</var>.
 
   <li>If <var title="">node</var> is a <code class=external data-anolis-spec=domcore><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> node and <var title="">offset</var> is its
   <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-node-length title=concept-node-length>length</a>, set <var title="">offset</var> to one plus the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-indexof title=concept-indexof>index</a> of
@@ -6420,10 +6420,11 @@
     <li>While the <code class=external data-anolis-spec=domcore title=dom-Node-nextSibling><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-nextsibling>nextSibling</a></code> of the last member of <var title="">node list</var> is
     not null and is an <a href=#allowed-child>allowed child</a> of "p", append it to
     <var title="">node list</var>.
-
-    <p class=XXX>It is not at all obvious that this is the correct list of
-    nodes in all cases.  It should probably work because of how the
-    block-extend algorithm works, but further thought would be good.
+    <!--
+    TODO: It is not at all obvious that this is the correct list of nodes in
+    all cases.  It should probably work because of how the block-extend
+    algorithm works, but further thought would be good.
+    -->
 
     <li><a href=#wrap>Wrap</a> <var title="">node list</var>, with <a href=#sibling-criteria>sibling
     criteria</a> matching nothing and <a href=#new-parent-instructions>new parent instructions</a>
--- a/source.html	Tue Jul 12 15:23:52 2011 -0600
+++ b/source.html	Tue Jul 12 15:27:50 2011 -0600
@@ -6349,10 +6349,8 @@
   [[rangestart]] [[bpnode]] and [[bpoffset]].
 
   <li>If <var>node</var> is a [[text]] node, and <var>offset</var> is neither 0
-  nor the [[nodelength]] of <var>node</var>, call <code
-  data-anolis-spec=domcore
-  title=dom-Text-splitText>splitText(<var>offset</var>)</code> on
-  <var>node</var>.
+  nor the [[nodelength]] of <var>node</var>, call
+  [[splittext|<var>offset</var>]] on <var>node</var>.
 
   <li>If <var>node</var> is a [[text]] node and <var>offset</var> is its
   [[nodelength]], set <var>offset</var> to one plus the [[index]] of
@@ -6418,10 +6416,11 @@
     <li>While the [[nextsibling]] of the last member of <var>node list</var> is
     not null and is an <span>allowed child</span> of "p", append it to
     <var>node list</var>.
-
-    <p class=XXX>It is not at all obvious that this is the correct list of
-    nodes in all cases.  It should probably work because of how the
-    block-extend algorithm works, but further thought would be good.
+    <!--
+    TODO: It is not at all obvious that this is the correct list of nodes in
+    all cases.  It should probably work because of how the block-extend
+    algorithm works, but further thought would be good.
+    -->
 
     <li><span>Wrap</span> <var>node list</var>, with <span>sibling
     criteria</span> matching nothing and <span>new parent instructions</span>