Expand note about whitespace nodes a bit
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Mon, 16 May 2011 12:44:21 -0600
changeset 123 558bb41b3307
parent 122 4d3b2ecb3bf3
child 124 818c3e2af710
Expand note about whitespace nodes a bit

Thanks to Tim Down for pointing out the issue:
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031655.html
editcommands.html
source.html
--- a/editcommands.html	Mon May 16 12:29:25 2011 -0600
+++ b/editcommands.html	Mon May 16 12:44:21 2011 -0600
@@ -188,7 +188,9 @@
 
   <li>I need to pay more attention to whitespace-only nodes.  In most cases
   these will have no visual effect, but they'll make many algorithms behave
-  differently: decomposing a range, block-extending, etc.
+  differently: decomposing a range, block-extending, etc.  In at least some
+  cases, it's not even possible for the cursor to wind up in them, so maybe we
+  don't need to bother marking them up or anything.
 
   <li>Tim Down <a href=http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031655.html>points
   out</a> that browsers have special behavior for formatting commands when the
--- a/source.html	Mon May 16 12:29:25 2011 -0600
+++ b/source.html	Mon May 16 12:44:21 2011 -0600
@@ -174,7 +174,9 @@
 
   <li>I need to pay more attention to whitespace-only nodes.  In most cases
   these will have no visual effect, but they'll make many algorithms behave
-  differently: decomposing a range, block-extending, etc.
+  differently: decomposing a range, block-extending, etc.  In at least some
+  cases, it's not even possible for the cursor to wind up in them, so maybe we
+  don't need to bother marking them up or anything.
 
   <li>Tim Down <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031655.html">points
   out</a> that browsers have special behavior for formatting commands when the