aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/htmlelement
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/htmlelement
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/htmlelement')
-rw-r--r--files/es/web/api/htmlelement/index.html235
-rw-r--r--files/es/web/api/htmlelement/offsetleft/index.html62
-rw-r--r--files/es/web/api/htmlelement/transitioncancel_event/index.html50
-rw-r--r--files/es/web/api/htmlelement/transitionend_event/index.html63
4 files changed, 4 insertions, 406 deletions
diff --git a/files/es/web/api/htmlelement/index.html b/files/es/web/api/htmlelement/index.html
index c27333c878..5c64f83502 100644
--- a/files/es/web/api/htmlelement/index.html
+++ b/files/es/web/api/htmlelement/index.html
@@ -160,240 +160,7 @@ translation_of: Web/API/HTMLElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>17.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.10</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}{{WebkitBug(72715)}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.24</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>9.0</td>
- <td>{{CompatUnknown}}</td>
- <td>11.10</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.contentEditable", "contentEditable")}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5.5</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.spellcheck", "spellcheck")}}</td>
- <td>{{CompatGeckoDesktop("1.8.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.style", "style")}}</td>
- <td>{{CompatVersionUnknown}} (returns a {{domxref("CSS2Properties")}}, rather than a {{domxref("CSSStyleDeclaration")}})</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.forceSpellCheck", "forceSpellCheck()")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>8.0</td>
- <td>11</td>
- <td>11.10</td>
- <td>6</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.draggable", "draggable")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12.0</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dropzone", "dropzone")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>12.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.offsetLeft", "offsetLeft")}}, {{domxref("HTMLElement.offsetTop", "offsetTop")}}, {{domxref("HTMLElement.offsetParent", "offsetParent")}}, {{domxref("HTMLElement.offsetHeight", "offsetHeight")}} and {{domxref("HTMLElement.offsetWidth", "offsetWidth")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.translate", "translate")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.itemScope", "itemScope")}}, {{domxref("HTMLElement.itemType", "itemType")}}, {{domxref("HTMLElement.itemRef", "itemRef")}}, {{domxref("HTMLElement.itemId", "itemId")}}, {{domxref("HTMLElement.itemProp", "itemProp")}}, and {{domxref("HTMLElement.itemValue", "itemValue")}} {{experimental_inline}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>11.60<br>
- (Removed in Opera 15)</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.properties", "properties")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.ontouchstart")}}, {{domxref("HTMLElement.ontouchend")}}, {{domxref("HTMLElement.ontouchmove")}}, {{domxref("HTMLElement.ontouchenter")}}, {{domxref("HTMLElement.ontouchleave")}}, and {{domxref("HTMLElement.ontouchcancel")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.oncopy")}}, {{domxref("HTMLElement.oncut")}}, and {{domxref("HTMLElement.onpaste")}} {{Non-standard_inline}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatUnknown}}</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>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatGeckoMobile("1.0")}}</p>
- </td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoMobile("8.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.oncopy")}}, {{domxref("HTMLElement.oncut")}}, and {{domxref("HTMLElement.onpaste")}} {{Non-standard_inline}}</td>
- <td>{{CompatGeckoMobile("1.9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/es/web/api/htmlelement/offsetleft/index.html b/files/es/web/api/htmlelement/offsetleft/index.html
index 0067faf65f..d98a26e659 100644
--- a/files/es/web/api/htmlelement/offsetleft/index.html
+++ b/files/es/web/api/htmlelement/offsetleft/index.html
@@ -72,67 +72,7 @@ if (tOLeft &gt; 5) {
<h2 id="Compatibility" name="Compatibility">Browser compatibility</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 (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</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>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>In compliance with the specification, this property will return <code>null</code> on Webkit if the element is hidden (the <code>style.display</code> of this element or any ancestor is <code>"none"</code>) or if the <code>style.position</code> of the element itself is set to <code>"fixed"</code>.</p>
-
-<p>This property will return <code>null</code> on Internet Explorer (9) if the <code>style.position</code> of the element itself is set to <code>"fixed"</code>. (Having <code>display:none</code> does not affect this browser.)</p>
+{{Compat("api.HTMLElement.offsetLeft")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/es/web/api/htmlelement/transitioncancel_event/index.html b/files/es/web/api/htmlelement/transitioncancel_event/index.html
index 9bc3f53e51..372526b6e9 100644
--- a/files/es/web/api/htmlelement/transitioncancel_event/index.html
+++ b/files/es/web/api/htmlelement/transitioncancel_event/index.html
@@ -104,55 +104,7 @@ original_slug: Web/Events/transitioncancel
<h2 id="Compatibilidad_con_navegadores">Compatibilidad con navegadores</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement.transitioncancel_event")}}
<h2 id="Véase_también">Véase también</h2>
diff --git a/files/es/web/api/htmlelement/transitionend_event/index.html b/files/es/web/api/htmlelement/transitionend_event/index.html
index 3005798cae..c1bcbec297 100644
--- a/files/es/web/api/htmlelement/transitionend_event/index.html
+++ b/files/es/web/api/htmlelement/transitionend_event/index.html
@@ -111,68 +111,7 @@ element.addEventListener("transitionend", function(event) {
<h2 id="Compatibilidad_con_navegadores">Compatibilidad con navegadores</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>1.0<sup>[1]</sup><br>
- 36</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>10.5<sup>[2]</sup><br>
- 12<br>
- 12.10<br>
- 23</td>
- <td>3.2<sup>[1]</sup><br>
- 7.0.6</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>2.1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10<sup>[2]</sup><br>
- 12<br>
- 12.10</td>
- <td>3.2<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implementado en Chrome 1.0, Android 2.1 y WebKit 3.2 como <code>webkitTransitionEnd</code>. Chrome 36 y WebKit 7.0.6 usan el estándar <code>transitionend</code>.</p>
-
-<p>[2] Implementado como <code>oTransitionEnd</code> desde Opera 10.5, como <code>otransitionend</code> desde la versión 12 y como el estándar <code>transitionend</code> desde la versión 12.10.</p>
+{{Compat("api.HTMLElement.transitionend_event")}}
<h2 id="Véase_también">Véase también</h2>