Update comment
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Tue, 11 Oct 2011 12:57:09 -0600
changeset 641 976207abab01
parent 640 a01b8a87e06d
child 642 c8002489da61
Update comment
editing.html
source.html
--- a/editing.html	Tue Oct 11 12:41:30 2011 -0600
+++ b/editing.html	Tue Oct 11 12:57:09 2011 -0600
@@ -2206,12 +2206,6 @@
 elements.  I mostly got the obsolete element list by testing what Firefox 5.0a2
 splits when you do insertHorizontalRule.
 
-<p>At the time of this writing (July 2011), dt is only allowed to contain
-inline contents by HTML.  I deliberately omit it from the list regardless,
-because I don't like the fact that including it will cause various commands to
-break apart lists rather than put bad things inside dt.  I filed a <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201">bug</a> asking that
-the spec be changed.
-
 <p>TODO: The definitions of prohibited paragraph children and elements with
 inline contents should be in the HTML spec (possibly under a different name) so
 they don't fall out of sync.  They'll do for now.
@@ -2243,6 +2237,10 @@
   <li>I just haven't had bothered to be systematic about it yet.  I've only
   covered what's come up in my tests.
 </ol>
+
+<p>I deliberately allow <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> to contain headers and such, in violation of
+HTML.  If I didn't, then when the user tried to formatBlock a <code class=external data-anolis-spec=html title="the dt element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dt-element>dt</a></code> as a
+header, it would break apart the whole <code class=external data-anolis-spec=html title="the dl element"><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>dl</a></code>, which seems worse.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201">bug 13201</a>.
 </div>
 
 <p>A <a class=external data-anolis-spec=dom href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> or string <var title="">child</var> is an <dfn id=allowed-child>allowed child</dfn> of a
--- a/source.html	Tue Oct 11 12:41:30 2011 -0600
+++ b/source.html	Tue Oct 11 12:57:09 2011 -0600
@@ -2204,13 +2204,6 @@
 elements.  I mostly got the obsolete element list by testing what Firefox 5.0a2
 splits when you do insertHorizontalRule.
 
-<p>At the time of this writing (July 2011), dt is only allowed to contain
-inline contents by HTML.  I deliberately omit it from the list regardless,
-because I don't like the fact that including it will cause various commands to
-break apart lists rather than put bad things inside dt.  I filed a <a
-href=http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201>bug</a> asking that
-the spec be changed.
-
 <p>TODO: The definitions of prohibited paragraph children and elements with
 inline contents should be in the HTML spec (possibly under a different name) so
 they don't fall out of sync.  They'll do for now.
@@ -2242,6 +2235,11 @@
   <li>I just haven't had bothered to be systematic about it yet.  I've only
   covered what's come up in my tests.
 </ol>
+
+<p>I deliberately allow [[dt]] to contain headers and such, in violation of
+HTML.  If I didn't, then when the user tried to formatBlock a [[dt]] as a
+header, it would break apart the whole [[dl]], which seems worse.  See <a
+href=http://www.w3.org/Bugs/Public/show_bug.cgi?id=13201>bug 13201</a>.
 </div>
 
 <p>A [[node]] or string <var>child</var> is an <dfn>allowed child</dfn> of a