aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/node/contains/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/node/contains/index.html')
-rw-r--r--files/fr/web/api/node/contains/index.html68
1 files changed, 5 insertions, 63 deletions
diff --git a/files/fr/web/api/node/contains/index.html b/files/fr/web/api/node/contains/index.html
index 912ef76f66..5b7f4c23e5 100644
--- a/files/fr/web/api/node/contains/index.html
+++ b/files/fr/web/api/node/contains/index.html
@@ -26,8 +26,6 @@ translation_of: Web/API/Node/contains
return (node === document.body) ? false : document.body.contains(node);
}</pre>
-<p> </p>
-
<h2 id="Spécifications">Spécifications</h2>
<table class="standard-table">
@@ -47,69 +45,13 @@ translation_of: Web/API/Node/contains
</tbody>
</table>
-<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité des navigateurs</h2>
-
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>5.0<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.0<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Internet Explorer <a href="https://connect.microsoft.com/IE/feedback/details/780874/node-contains-is-incorrect">only supports <code>contains()</code> for elements</a>.</p>
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
-<p>[2] Safari 2.x <a href="https://books.google.de/books?id=KW9G9rdlStIC&amp;lpg=PA299&amp;ots=4XRWUISZVr&amp;dq=safari+node+contains+professional+javascript&amp;pg=PA299&amp;hl=de#v=onepage&amp;q=safari%20node%20contains%20professional%20javascript&amp;f=false">implemented <code>contains()</code> incorrectly</a>.</p>
-</div>
+<p>{{Compat("api.Node.contains")}}</p>
-<h2 id="See_also" name="See_also">Voir aussi</h2>
+<h2 id="See_also">Voir aussi</h2>
<ul>
- <li>{{domxref("Node.compareDocumentPosition")}}</li>
- <li>{{domxref("Node.hasChildNodes")}}</li>
+ <li>{{domxref("Node.compareDocumentPosition")}}</li>
+ <li>{{domxref("Node.hasChildNodes")}}</li>
</ul>