diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-03 22:36:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 07:36:23 -0600 |
commit | 0ce7202a706c9036eeea42c158f433c2b7940457 (patch) | |
tree | 4e952b5472e3140bd12ac07e77df3aa47e79b60f /files/es/web/svg/element/script | |
parent | 581e6fb5827a5450e295c91250dd0563a3c9251a (diff) | |
download | translated-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/svg/element/script')
-rw-r--r-- | files/es/web/svg/element/script/index.html | 129 |
1 files changed, 1 insertions, 128 deletions
diff --git a/files/es/web/svg/element/script/index.html b/files/es/web/svg/element/script/index.html index 1efecd0e7c..7e24ff3066 100644 --- a/files/es/web/svg/element/script/index.html +++ b/files/es/web/svg/element/script/index.html @@ -117,134 +117,7 @@ original_slug: Web/HTML/Elemento/script <h2 id="Compatibilidad_de_navegadores">Compatibilidad de navegadores</h2> -<div>{{CompatibilityTable}}</div> - -<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</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome(1.0)}}</td> - <td>{{CompatGeckoDesktop("1.0")}}<sup>[2]</sup></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>async attribute</td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td> - <td>10<sup>[1]</sup></td> - <td>{{CompatNo}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - </tr> - <tr> - <td>defer attribute</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.1")}}</td> - <td> - <p>4[3]<br> - 10</p> - </td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>crossorigin attribute</td> - <td>{{CompatChrome(30.0)}}</td> - <td>{{CompatGeckoDesktop("13")}}</td> - <td>{{CompatNo}}</td> - <td>12.50</td> - <td>{{CompatVersionUnknown}}<sup>[4]</sup></td> - </tr> - <tr> - <td>integrity attribute</td> - <td>{{CompatChrome(45.0)}}</td> - <td>{{CompatGeckoDesktop("43")}}</td> - <td> </td> - <td> </td> - <td>{{CompatNo}}<sup>[5]</sup></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>Firefox Mobile (Gecko)</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>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("1.0")}}<sup>[2]</sup></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>async attribute</td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - <td>{{CompatGeckoMobile("1.0")}}<sup>[1]</sup></td> - <td>{{CompatNo}}<sup>[1]</sup></td> - <td>{{CompatUnknown}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - </tr> - <tr> - <td>defer attribute</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("1.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>integrity attribute</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(45.0)}}</td> - <td>{{CompatGeckoDesktop("43")}}</td> - <td> </td> - <td> </td> - <td> </td> - <td>{{CompatChrome(45.0)}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] In older browsers that don't support the <code>async</code> attribute, parser-inserted scripts block the parser; script-inserted scripts execute asynchronously in IE and WebKit, but synchronously in Opera and pre-4.0 Firefox. In Firefox 4.0, the <code>async</code> DOM property defaults to <code>true</code> for script-created scripts, so the default behavior matches the behavior of IE and WebKit. To request script-inserted external scripts be executed in the insertion order in browsers where the <code>document.createElement("script").async</code> evaluates to <code>true</code> (such as Firefox 4.0), set <code>.async=false</code> on the scripts you want to maintain order. Never call <code>document.write()</code> from an <code>async</code> script. In Gecko 1.9.2, calling <code>document.write()</code> has an unpredictable effect. In Gecko 2.0, calling <code>document.write()</code> from an <code>async</code> script has no effect (other than printing a warning to the error console).</p> - -<p>[2] Starting in Gecko 2.0 {{geckoRelease("2.0")}}, inserting script elements that have been created by calling <code>document.createElement("script")</code> into the DOM no longer enforces execution in insertion order. This change lets Gecko properly abide by the HTML5 specification. To make script-inserted external scripts execute in their insertion order, set <code>.async=false</code> on them.</p> - -<p>Also, {{HTMLElement("script")}} elements inside {{HTMLElement("iframe")}}, {{HTMLElement("noembed")}} and {{HTMLElement("noframes")}} elements are now executed, for the same reasons.</p> - -<p>[3] In versions prior to Internet Explorer 10 Trident implemented <code><script></code> by a proprietary specification. Since version 10 it conforms to the W3C specification.</p> - -<p>[4] The <code>crossorigin</code> attribute was implemented in WebKit in {{WebKitBug(81438)}}.</p> - -<p>[5] {{WebKitBug(148363)}} tracks WebKit implementation of Subresource Integrity (which includes the <code>integrity</code> attribute).</p> +{{Compat("svg.elements.script")}} <h2 id="Ver_también">Ver también</h2> |