Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clarify contains() for https://www.w3.org/Bugs/Public/show_bug.cgi?id…

  • Loading branch information...
commit ce51af976905d57cdc34f140c2f59470e038b36d 1 parent 8a77e6f
@annevk annevk authored
Showing with 4 additions and 2 deletions.
  1. +2 −1  Overview.src.html
  2. +2 −1  dom-core.html
View
3  Overview.src.html
@@ -3337,7 +3337,8 @@ <h2 class=no-num>Goals</h2>
<dfn title=dom-Node-contains><code>contains(<var title>other</var>)</code></dfn>
method must return true if <var title>other</var> is an
<span title=concept-tree-inclusive-descendant>inclusive descendant</span> of
-the <span>context object</span>, or false otherwise.
+the <span>context object</span>, or false otherwise (including when
+<var title>other</var> is null).
<hr>
View
3  dom-core.html
@@ -3378,7 +3378,8 @@ <h3 id="interface-node"><span class="secno">5.3 </span>Interface <code><a href="
<dfn id="dom-node-contains" title="dom-Node-contains"><code>contains(<var title="">other</var>)</code></dfn>
method must return true if <var title="">other</var> is an
<a href="#concept-tree-inclusive-descendant" title="concept-tree-inclusive-descendant">inclusive descendant</a> of
-the <a href="#context-object">context object</a>, or false otherwise.
+the <a href="#context-object">context object</a>, or false otherwise (including when
+<var title="">other</var> is null).
<hr>
Please sign in to comment.
Something went wrong with that request. Please try again.