Remove unnecessary XXX's
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Sun, 10 Jul 2011 09:22:10 -0600
changeset 379 b534abd08917
parent 378 f12baf3fdada
child 380 afbcc0a2a352
Remove unnecessary XXX's
editcommands.html
source.html
--- a/editcommands.html	Sun Jul 10 09:08:57 2011 -0600
+++ b/editcommands.html	Sun Jul 10 09:22:10 2011 -0600
@@ -5022,10 +5022,6 @@
   <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=domrange title=dom-Range-collapsed><a href=http://html5.org/specs/dom-range.html#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-contents>delete the contents</a>
   of the <a href=#active-range>active range</a> and abort these steps.
 
-  <p class=XXX>Maybe we sometimes want to do the following even if it isn't
-  collapsed?  WebKit seems to do some normalization on the range before
-  deciding whether it's collapsed, and that sounds like a good idea.
-
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at (<a href=#active-range>active range</a>'s
   <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>, <a href=#active-range>active range</a>'s <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-offset title=concept-boundary-point-offset>offset</a>).
   <!-- Needed so that if there are multiple consecutive spaces we backspace
@@ -5604,10 +5600,6 @@
   <li>If the <a href=#active-range>active range</a> is not <code class=external data-anolis-spec=domrange title=dom-Range-collapsed><a href=http://html5.org/specs/dom-range.html#dom-range-collapsed>collapsed</a></code>, <a href=#delete-the-contents>delete the contents</a>
   of the <a href=#active-range>active range</a> and abort these steps.
 
-  <p class=XXX>Maybe we sometimes want to do the following even if it isn't
-  collapsed?  WebKit seems to do some normalization on the range before
-  deciding whether it's collapsed, and that sounds like a good idea.
-
   <li><a href=#canonicalize-whitespace>Canonicalize whitespace</a> at (<a href=#active-range>active range</a>'s
   <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>, <a href=#active-range>active range</a>'s <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-offset title=concept-boundary-point-offset>offset</a>).
 
@@ -6230,17 +6222,12 @@
   listing and xmp work the same as pre in all browsers.  For Firefox and Opera,
   this results in trying to put a br inside an xmp, so I go with IE/Chrome for
   xmp.
+
+  In cases where hitting enter in a header doesn't break out of the header, we
+  should probably follow this code path too, instead of creating an adjoining
+  header.  No browser does this, though, so we don't.
   -->
 
-  <p class=XXX>Why don't we just insert a newline character if it's a pre?  We
-  don't really need to use br in that case.  Need to test: what do browsers do
-  if a pre element has newlines in it, do they convert to line breaks when you
-  make it no longer a pre?
-
-  <p class=XXX>In cases where hitting enter in a header doesn't break out of
-  the header, we should probably follow this code path too, instead of creating
-  an adjoining header.  No browser does this, though.
-
   <ol>
     <li>Let <var title="">br</var> be the result of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("br")</a></code> on
     the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#context-object>context object</a>.
--- a/source.html	Sun Jul 10 09:08:57 2011 -0600
+++ b/source.html	Sun Jul 10 09:22:10 2011 -0600
@@ -5023,10 +5023,6 @@
   title=dom-Range-collapsed>collapsed</code>, <span>delete the contents</span>
   of the <span>active range</span> and abort these steps.
 
-  <p class=XXX>Maybe we sometimes want to do the following even if it isn't
-  collapsed?  WebKit seems to do some normalization on the range before
-  deciding whether it's collapsed, and that sounds like a good idea.
-
   <li><span>Canonicalize whitespace</span> at (<span>active range</span>'s
   [[startnode]], <span>active range</span>'s [[startoffset]]).
   <!-- Needed so that if there are multiple consecutive spaces we backspace
@@ -5607,10 +5603,6 @@
   title=dom-Range-collapsed>collapsed</code>, <span>delete the contents</span>
   of the <span>active range</span> and abort these steps.
 
-  <p class=XXX>Maybe we sometimes want to do the following even if it isn't
-  collapsed?  WebKit seems to do some normalization on the range before
-  deciding whether it's collapsed, and that sounds like a good idea.
-
   <li><span>Canonicalize whitespace</span> at (<span>active range</span>'s
   [[startnode]], <span>active range</span>'s [[startoffset]]).
 
@@ -6243,17 +6235,12 @@
   listing and xmp work the same as pre in all browsers.  For Firefox and Opera,
   this results in trying to put a br inside an xmp, so I go with IE/Chrome for
   xmp.
+
+  In cases where hitting enter in a header doesn't break out of the header, we
+  should probably follow this code path too, instead of creating an adjoining
+  header.  No browser does this, though, so we don't.
   -->
 
-  <p class=XXX>Why don't we just insert a newline character if it's a pre?  We
-  don't really need to use br in that case.  Need to test: what do browsers do
-  if a pre element has newlines in it, do they convert to line breaks when you
-  make it no longer a pre?
-
-  <p class=XXX>In cases where hitting enter in a header doesn't break out of
-  the header, we should probably follow this code path too, instead of creating
-  an adjoining header.  No browser does this, though.
-
   <ol>
     <li>Let <var>br</var> be the result of calling [[createelement|"br"]] on
     the [[contextobject]].