Remove a couple of XXXs
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 18 May 2011 13:38:02 -0600
changeset 144 579b0f28a2c6
parent 143 e5f970cd0727
child 145 1f5dfd58bff3
Remove a couple of XXXs
editcommands.html
source.html
--- a/editcommands.html	Wed May 18 13:30:19 2011 -0600
+++ b/editcommands.html	Wed May 18 13:38:02 2011 -0600
@@ -23,6 +23,7 @@
  }
  div.note > p:first-child::before { content: 'Note: '; }
  div + * > li { margin: 1em 0 }
+ .XXX > :last-child { margin-bottom: 0 }
 </style>
 <body class=draft>
 <div class=head id=head>
@@ -469,13 +470,6 @@
 display property computes to something other than "inline", "inline-block", or
 "inline-table"; or any <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> that is not <a href=#editable>editable</a>.
 
-<p class=XXX>Currently when we hit an unwrappable element, we ignore it and
-alter its children.  Alternatively, if we would otherwise create a span with a
-style element on it, maybe we could put the style element directly on the
-unwrappable element.  This would produce shorter markup in many cases, but
-would also cause problems for things like background-color that do something
-different on block elements.
-
 <p>The <dfn id=effective-value>effective value</dfn> of a <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> <var title="">node</var> for a given
 <var title="">command</var> is returned by the following algorithm, which will return
 either a string or null:
@@ -1555,12 +1549,6 @@
   a list of its <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>.  <a href=#set-the-value>Set the value</a> of each member of
   <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-child title=concept-tree-child>children</a>, then abort this algorithm.
 
-  <li>If <var title="">node</var>'s <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is null, or 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#documenttype>DocumentType</a></code>, abort this algorithm.
-
-  <p class=XXX>We could style detached elements, but maybe it's not worth the
-  effort.  Is execCommand() even supposed to work on things that don't descend
-  from a document?  Needs investigation.
-
   <li>If <var title="">node</var> is not <a href=#editable>editable</a>:
   <!--
   IE9: Allows everything to be modified by execCommand(), regardless of whether
--- a/source.html	Wed May 18 13:30:19 2011 -0600
+++ b/source.html	Wed May 18 13:38:02 2011 -0600
@@ -24,6 +24,7 @@
  }
  div.note > p:first-child::before { content: 'Note: '; }
  div + * > li { margin: 1em 0 }
+ .XXX > :last-child { margin-bottom: 0 }
 </style>
 <body class=draft>
 <div class=head id=head>
@@ -464,13 +465,6 @@
 display property computes to something other than "inline", "inline-block", or
 "inline-table"; or any [[node]] that is not <span>editable</span>.
 
-<p class=XXX>Currently when we hit an unwrappable element, we ignore it and
-alter its children.  Alternatively, if we would otherwise create a span with a
-style element on it, maybe we could put the style element directly on the
-unwrappable element.  This would produce shorter markup in many cases, but
-would also cause problems for things like background-color that do something
-different on block elements.
-
 <p>The <dfn>effective value</dfn> of a [[node]] <var>node</var> for a given
 <var>command</var> is returned by the following algorithm, which will return
 either a string or null:
@@ -1577,13 +1571,6 @@
   a list of its [[children]].  <span>Set the value</span> of each member of
   [[children]], then abort this algorithm.
 
-  <li>If <var>node</var>'s [[parent]] is null, or if <var>node</var> is a <code
-  data-anolis-spec=domcore>DocumentType</code>, abort this algorithm.
-
-  <p class=XXX>We could style detached elements, but maybe it's not worth the
-  effort.  Is execCommand() even supposed to work on things that don't descend
-  from a document?  Needs investigation.
-
   <li>If <var>node</var> is not <span>editable</span>:
   <!--
   IE9: Allows everything to be modified by execCommand(), regardless of whether