aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/filereader
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/filereader
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/filereader')
-rw-r--r--files/es/web/api/filereader/index.html62
-rw-r--r--files/es/web/api/filereader/readastext/index.html58
2 files changed, 2 insertions, 118 deletions
diff --git a/files/es/web/api/filereader/index.html b/files/es/web/api/filereader/index.html
index efa87bcc20..6edfec46ed 100644
--- a/files/es/web/api/filereader/index.html
+++ b/files/es/web/api/filereader/index.html
@@ -111,67 +111,7 @@ translation_of: Web/API/FileReader
<h2 id="Browser_compatibility" name="Browser_compatibility">Soporte en los navegadores</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</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>{{ CompatGeckoDesktop("1.9.2") }}</td>
- <td>7</td>
- <td>10</td>
- <td>12.02</td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Soporte básico</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Notas_de_implementación">Notas de implementación</h3>
-
-<ul>
- <li>IE9 tiene una <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</li>
- <li>Opera tiene un <a href="http://www.opera.com/docs/specs/presto28/file/">soporte parcial</a> in 11.1.</li>
-</ul>
-
-<h4 id="Notas_específicas_para_Gecko">Notas específicas para Gecko</h4>
-
-<ul>
- <li>Antes de Gecko 2.0 beta 7 (Firefox 4.0 beta 7), todos los parámetros {{ domxref("Blob") }} de a continuación eran parámetros {{ domxref("File") }}; esto ya se ha actualizado para que coincida con la especificación correcta.</li>
- <li>Antes de Gecko 13.0 {{ geckoRelease("13.0") }} la propiedad<code> FileReader.error</code> devolvía un objeto {{ domxref("FileError") }}. Esta interface ha sido eliminada y <code>FileReader.error</code> ahora devielve el objeto {{ domxref("DOMError") }} tal y como se define en el último borrador de FileAPI.</li>
-</ul>
+{{Compat("api.FileReader")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/es/web/api/filereader/readastext/index.html b/files/es/web/api/filereader/readastext/index.html
index 0eaa0e636b..1b3534d55f 100644
--- a/files/es/web/api/filereader/readastext/index.html
+++ b/files/es/web/api/filereader/readastext/index.html
@@ -44,63 +44,7 @@ translation_of: Web/API/FileReader/readAsText
<h2 id="Compatibilidad_en_los_navegadores">Compatibilidad en los navegadores</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>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</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>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Anterior a Gecko 2.0 beta 7 (Firefox 4.0 beta 7), todos los parámetros de tipo {{domxref("Blob")}} eran de tipo {{domxref("File")}} ; esto ha sido actualizado para emparejarse a la especificacion de manera correcta. Anterior a Gecko 13.0 {{geckoRelease("13.0")}} la propiedad <code>FileReader.error</code> devolvía un objeto de tipo {{domxref("FileError")}}. Esta interfaz ha sido eliminada y ahora la propiedad <code>FileReader.error</code> devuelve el objeto {{domxref("DOMError")}} como está definido en el borrador de FileAPI.</p>
-
-<p>[2] IE9 tiene una <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera tiene <a href="http://www.opera.com/docs/specs/presto28/file/">soporte parcial</a> in 11.1.</p>
+{{Compat("api.FileReader.readAsText")}}
<h2 id="Vea_también">Vea también</h2>