Permalink
Browse files

This splitText() bug caused Gecko to crash. Oops.

  • Loading branch information...
1 parent 2758f98 commit f1faaecd9881dd2f3654643eb89c46604c41ce73 @annevk annevk committed Nov 16, 2012
Showing with 38 additions and 2 deletions.
  1. +18 −0 Overview.src.html
  2. +20 −2 dom-core.html
View
@@ -5619,6 +5619,24 @@ <h2 class=no-num>Goals</h2>
<var title>new node</var> and decrease its
<span title=concept-range-end-offset>end offset</span> by
<var title>offset</var>.
+
+ <!-- This shit is complicated:
+ https://www.w3.org/Bugs/Public/show_bug.cgi?id=19968 -->
+ <li><p>For each <span title=concept-range>range</span> whose
+ <span title=concept-range-start-node>start node</span> is
+ <var title>parent</var> and
+ <span title=concept-range-start-offset>start offset</span> is equal to
+ the <span title=concept-tree-index>index</span> of
+ <var title>node</var> + 1, increase its
+ <span title=concept-range-start-offset>start offset</span> by one.
+
+ <li><p>For each <span title=concept-range>range</span> whose
+ <span title=concept-range-end-node>end node</span> is
+ <var title>parent</var> and
+ <span title=concept-range-end-offset>end offset</span> is equal to
+ the <span title=concept-tree-index>index</span> of
+ <var title>node</var> + 1, increase its
+ <span title=concept-range-end-offset>end offset</span> by one.
</ol>
<li><p><span title=concept-CD-replace>Replace data</span> with node
View
@@ -10,7 +10,7 @@
<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-dom.svg" width="100"></a></p>
<h1>DOM</h1>
- <h2 class="no-num no-toc" id="living-standard-—-last-updated-11-november-2012">Living Standard — Last Updated 11 November 2012</h2>
+ <h2 class="no-num no-toc" id="living-standard-—-last-updated-16-november-2012">Living Standard — Last Updated 16 November 2012</h2>
<dl>
<dt>This Version:
@@ -42,7 +42,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-11-november-2012"
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
-11 November 2012, the editors have made this specification available
+16 November 2012, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
@@ -5669,6 +5669,24 @@ <h3 id="interface-text"><span class="secno">5.10 </span>Interface <code><a href=
<var title="">new node</var> and decrease its
<a href="#concept-range-end-offset" title="concept-range-end-offset">end offset</a> by
<var title="">offset</var>.
+
+ <!-- This shit is complicated:
+ https://www.w3.org/Bugs/Public/show_bug.cgi?id=19968 -->
+ <li><p>For each <a href="#concept-range" title="concept-range">range</a> whose
+ <a href="#concept-range-start-node" title="concept-range-start-node">start node</a> is
+ <var title="">parent</var> and
+ <a href="#concept-range-start-offset" title="concept-range-start-offset">start offset</a> is equal to
+ the <a href="#concept-tree-index" title="concept-tree-index">index</a> of
+ <var title="">node</var> + 1, increase its
+ <a href="#concept-range-start-offset" title="concept-range-start-offset">start offset</a> by one.
+
+ <li><p>For each <a href="#concept-range" title="concept-range">range</a> whose
+ <a href="#concept-range-end-node" title="concept-range-end-node">end node</a> is
+ <var title="">parent</var> and
+ <a href="#concept-range-end-offset" title="concept-range-end-offset">end offset</a> is equal to
+ the <a href="#concept-tree-index" title="concept-tree-index">index</a> of
+ <var title="">node</var> + 1, increase its
+ <a href="#concept-range-end-offset" title="concept-range-end-offset">end offset</a> by one.
</ol>
<li><p><a href="#concept-cd-replace" title="concept-CD-replace">Replace data</a> with node

0 comments on commit f1faaec

Please sign in to comment.