diff --git a/sections/ranges.include b/sections/ranges.include index e37205c10..eee70b588 100644 --- a/sections/ranges.include +++ b/sections/ranges.include @@ -368,7 +368,7 @@ interface Range {

The deleteContents()method must run these steps:

    -
  1. If start equals end, terminate these steps. +

  2. If start is end, terminate these steps.

  3. If node's parent is not null, remove node from its parent. @@ -908,7 +908,7 @@ Firefox 12.0a1. -->

    1. Let s be the empty string. -

    2. If start node equals end node, and it is a Text node, return the substring of that Text node's data beginning at start offset and ending at end offset. +

    3. If start node is end node, and it is a Text node, return the substring of that Text node's data beginning at start offset and ending at end offset.

    4. If start node is a Text node, append to s the substring of that node's data from the start offset until the end.