aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/node
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-03 22:36:23 +0900
committerGitHub <noreply@github.com>2022-03-03 07:36:23 -0600
commit0ce7202a706c9036eeea42c158f433c2b7940457 (patch)
tree4e952b5472e3140bd12ac07e77df3aa47e79b60f /files/es/web/api/node
parent581e6fb5827a5450e295c91250dd0563a3c9251a (diff)
downloadtranslated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.gz
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.bz2
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.zip
Migrate CompatibilityTable to Compat macro (es) (#4355)
* Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es)
Diffstat (limited to 'files/es/web/api/node')
-rw-r--r--files/es/web/api/node/index.html104
-rw-r--r--files/es/web/api/node/issamenode/index.html50
-rw-r--r--files/es/web/api/node/ownerdocument/index.html56
-rw-r--r--files/es/web/api/node/parentnode/index.html52
4 files changed, 4 insertions, 258 deletions
diff --git a/files/es/web/api/node/index.html b/files/es/web/api/node/index.html
index 68dd030864..dc507b6f85 100644
--- a/files/es/web/api/node/index.html
+++ b/files/es/web/api/node/index.html
@@ -266,106 +266,4 @@ document.body.removeAll();</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</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>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>getFeature()</code>{{obsolete_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("6.0")}}.<br>
- Removed in {{CompatGeckoDesktop("7.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>getUserData()</code>, <code>setUserData()</code> and <code>hasAttributes()</code> {{deprecated_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("21.0")}}.<br>
- Removed in {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>isSameNode()</code> {{obsolete_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("9.0")}}.<br>
- Removed in {{CompatGeckoDesktop("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>isSupported()</code> {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("21.0")}}.<br>
- Removed in {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>attributes</code></td>
- <td>{{CompatNo}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("21.0")}}.<br>
- Moved to {{domxref("Element")}} in {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</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>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>getFeature()</code>{{obsolete_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>Supported from {{CompatGeckoDesktop("1.0")}} to {{CompatGeckoDesktop("6.0")}}.<br>
- Removed in {{CompatGeckoDesktop("7.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Webkit and Blink incorrectly do not make <code>Node</code> inherit from {{domxref("EventTarget")}}.</p>
+{{Compat("api.Node")}}
diff --git a/files/es/web/api/node/issamenode/index.html b/files/es/web/api/node/issamenode/index.html
index 205b6fd222..af5d05b1fe 100644
--- a/files/es/web/api/node/issamenode/index.html
+++ b/files/es/web/api/node/issamenode/index.html
@@ -53,55 +53,7 @@ node1 == node2</pre>
<h2 id="Compatibilidad_entre_navegadores">Compatibilidad entre navegadores</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}<br>
- {{CompatNo}} {{CompatGeckoDesktop("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</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>{{CompatGeckoMobile("1.0")}}<br>
- {{CompatNo}} {{CompatGeckoMobile("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Node.isSameNode")}}
<h2 id="Ver_además">Ver además</h2>
diff --git a/files/es/web/api/node/ownerdocument/index.html b/files/es/web/api/node/ownerdocument/index.html
index b1213ac818..02b87c48be 100644
--- a/files/es/web/api/node/ownerdocument/index.html
+++ b/files/es/web/api/node/ownerdocument/index.html
@@ -61,58 +61,4 @@ var html = d.documentElement;
<h2 id="Compatibilidad_de_navegador">Compatibilidad de navegador</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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>Soporte básico</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Gecko 9.0 {{geckoRelease("9.0")}}, the <code>ownerDocument</code> of doctype nodes (that is, nodes for which {{domxref("Node.nodeType")}} is <code>Node.DOCUMENT_TYPE_NODE</code> or 10) is no longer <code>null</code>. Instead, the <code>ownerDocument</code> is the document on which <a href="/en-US/docs/DOM/DOMImplementation.createDocumentType"><code>document.implementation.createDocumentType()</code></a> was called.</p>
-
-<p>[2] <a href="http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx</a></p>
+{{Compat("api.Node.ownerDocument")}}
diff --git a/files/es/web/api/node/parentnode/index.html b/files/es/web/api/node/parentnode/index.html
index 62bf77c4ff..b727740645 100644
--- a/files/es/web/api/node/parentnode/index.html
+++ b/files/es/web/api/node/parentnode/index.html
@@ -33,57 +33,7 @@ translation_of: Web/API/Node/parentNode
<h2 id="Compatiblidad_de_navegador">Compatiblidad de navegador</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>0.2</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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>Soporte básico</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Node.parentNode")}}
<h2 id="Specification" name="Specification">Especificación</h2>