From 0ce7202a706c9036eeea42c158f433c2b7940457 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Thu, 3 Mar 2022 22:36:23 +0900 Subject: Migrate CompatibilityTable to Compat macro (es) (#4355) * Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es) --- .../web/api/window/beforeunload_event/index.html | 76 +------------------- .../web/api/window/cancelanimationframe/index.html | 54 +-------------- .../es/web/api/window/devicepixelratio/index.html | 48 +------------ files/es/web/api/window/frameelement/index.html | 48 +------------ .../es/web/api/window/hashchange_event/index.html | 56 +-------------- files/es/web/api/window/localstorage/index.html | 62 +---------------- files/es/web/api/window/location/index.html | 64 +---------------- files/es/web/api/window/outerheight/index.html | 48 +------------ files/es/web/api/window/outerwidth/index.html | 52 +------------- .../api/window/requestanimationframe/index.html | 80 +--------------------- .../web/api/window/requestidlecallback/index.html | 52 +------------- files/es/web/api/window/scrollx/index.html | 54 +-------------- files/es/web/api/window/sessionstorage/index.html | 62 +---------------- 13 files changed, 13 insertions(+), 743 deletions(-) (limited to 'files/es/web/api/window') diff --git a/files/es/web/api/window/beforeunload_event/index.html b/files/es/web/api/window/beforeunload_event/index.html index c8d30bab14..b4f2fb1ac6 100644 --- a/files/es/web/api/window/beforeunload_event/index.html +++ b/files/es/web/api/window/beforeunload_event/index.html @@ -128,81 +128,7 @@ window.addEventListener("beforeunload", function (event) {

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracteristicaChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte basico{{CompatChrome(1.0)}}{{CompatVersionUnknown}}14123
Texto personalizado soporte removido{{CompatChrome(51.0)}}{{CompatNo}}{{CompatGeckoMobile("44.0")}} 389.1
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracteristicaAndroidAndroid WebviewEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Soporte basico{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}(no) defect{{CompatVersionUnknown}}
Texto personalizado soporte removido{{CompatUnknown}}{{CompatChrome(51.0)}}{{CompatNo}}{{CompatGeckoMobile("44.0")}}   {{CompatChrome(51.0)}}
-
+{{Compat("api.Window.beforeunload_event")}}

Mire tambien

diff --git a/files/es/web/api/window/cancelanimationframe/index.html b/files/es/web/api/window/cancelanimationframe/index.html index eae485c315..27420acde1 100644 --- a/files/es/web/api/window/cancelanimationframe/index.html +++ b/files/es/web/api/window/cancelanimationframe/index.html @@ -50,59 +50,7 @@ window.cancelAnimationFrame(myReq);

Compatibilidad de navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte básico21.0 {{property_prefix("webkit")}}
- 24.0
{{CompatGeckoDesktop("11.0")}} {{property_prefix("moz")}}
- 23.0
1015.06.0 {{property_prefix("webkit")}}
- 6.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Soporte básico4.433{{CompatGeckoMobile("11.0")}} {{property_prefix("moz")}}
- 23.0
10337.1
-
+{{Compat("api.Window.cancelAnimationFrame")}}

Especificación

diff --git a/files/es/web/api/window/devicepixelratio/index.html b/files/es/web/api/window/devicepixelratio/index.html index 97db13d974..b0d9a179cc 100644 --- a/files/es/web/api/window/devicepixelratio/index.html +++ b/files/es/web/api/window/devicepixelratio/index.html @@ -35,53 +35,7 @@ translation_of: Web/API/Window/devicePixelRatio

Compatibilidad con navegadores

-

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
PrestaciónChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
PrestaciónAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("api.Window.devicePixelRatio")}}

Ver también

diff --git a/files/es/web/api/window/frameelement/index.html b/files/es/web/api/window/frameelement/index.html index 27f809265c..ff313a9fab 100644 --- a/files/es/web/api/window/frameelement/index.html +++ b/files/es/web/api/window/frameelement/index.html @@ -50,53 +50,7 @@ if (frameEl) {

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
PrestaciónChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico4?{{CompatGeckoDesktop("1")}}5.5?12.1?4?
-
- -
- - - - - - - - - - - - - - - - - - - -
PrestaciónAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatUnknown}}{{CompatGeckoDesktop("1")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("api.Window.frameElement")}}

Ver también

diff --git a/files/es/web/api/window/hashchange_event/index.html b/files/es/web/api/window/hashchange_event/index.html index e0a5be4bbc..653f922c06 100644 --- a/files/es/web/api/window/hashchange_event/index.html +++ b/files/es/web/api/window/hashchange_event/index.html @@ -130,61 +130,7 @@ translation_of: Web/API/Window/hashchange_event

Compatibilidad con navegadores

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte Básico5.0{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.9.2")}}[1]8.0[2]10.65.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Básico2.2{{CompatVersionUnknown}}{{CompatGeckoMobile("1.9.2")}}9.011.05.0
-
- -

[1] Soporte para los atributos oldURL/newURL agregado en Firefox 6.

- -

[2] Atributos oldURL/newURL no soportados.

+{{Compat("api.Window.hashchange_event")}}

Ver también

diff --git a/files/es/web/api/window/localstorage/index.html b/files/es/web/api/window/localstorage/index.html index e837f2218c..b3ace50e4e 100644 --- a/files/es/web/api/window/localstorage/index.html +++ b/files/es/web/api/window/localstorage/index.html @@ -78,67 +78,7 @@ localStorage.clear();

Compatibilidad de Navegadores

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FuncionalidadChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FuncionalidadAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Soporte básico2.1{{ CompatUnknown }}811iOS 3.2
- -

Todos los navegadores tienen variaciones en los niveles de capacidad de almacenamiento tanto para localStorage como para sessionStorage. He aquí un detalle sobre las distintas capacidades en los diferentes navegadores.

-
- -
-

Nota: a partir de iOS 5.1, Safari Mobile almacena la data del localStorage en el directorio de cache, lo cual esta sujeto al borrado y perdida ocacional de los datos ante la petición del sistema operativo, tipicamente requerido cuando el dispositivo sufre de falta de espacio de almacenamiento.

-
+{{Compat("api.Window.localStorage")}}

Ver  también

diff --git a/files/es/web/api/window/location/index.html b/files/es/web/api/window/location/index.html index d1d44a2b84..bb7c15e85f 100644 --- a/files/es/web/api/window/location/index.html +++ b/files/es/web/api/window/location/index.html @@ -200,69 +200,7 @@ span.intLink {

Compatibilidad entre navegadores

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
window.location.origin30.0.1599.101 (possibly earlier){{CompatGeckoDesktop("21.0")}}11{{CompatUnknown}}7 (possibly earlier, see webkit bug 46558)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
window.location.origin30.0.1599.101 (possibly earlier){{CompatGeckoMobile("21.0")}}{{CompatUnknown}}{{CompatUnknown}}7 (possibly earlier, see webkit bug 46558)
-
+{{Compat("api.Window.location")}}

Ver también

diff --git a/files/es/web/api/window/outerheight/index.html b/files/es/web/api/window/outerheight/index.html index cb77c574f4..3f4379796e 100644 --- a/files/es/web/api/window/outerheight/index.html +++ b/files/es/web/api/window/outerheight/index.html @@ -36,53 +36,7 @@ translation_of: Web/API/Window/outerHeight

Compatibilidad del navegador

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1{{CompatGeckoDesktop(1.0)}}993
-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support1{{CompatGeckoMobile(1.0)}}993
-
+{{Compat("api.Window.outerHeight")}}

Especificaciones

diff --git a/files/es/web/api/window/outerwidth/index.html b/files/es/web/api/window/outerwidth/index.html index b0b91a9beb..c4ebf6e2b2 100644 --- a/files/es/web/api/window/outerwidth/index.html +++ b/files/es/web/api/window/outerwidth/index.html @@ -26,57 +26,7 @@ translation_of: Web/API/Window/outerWidth

Compatibilidad del navegador

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1{{CompatVersionUnknown}}{{CompatGeckoDesktop(1.0)}}993
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support1{{CompatVersionUnknown}}{{CompatGeckoMobile(1.0)}}993
-
+{{Compat("api.Window.outerWidth")}}

Specificaciones

diff --git a/files/es/web/api/window/requestanimationframe/index.html b/files/es/web/api/window/requestanimationframe/index.html index 04c597dd6d..ce3d06f601 100644 --- a/files/es/web/api/window/requestanimationframe/index.html +++ b/files/es/web/api/window/requestanimationframe/index.html @@ -57,85 +57,7 @@ window.requestAnimationFrame(step);

Compatibilidad entre Navegadores

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support21.0 {{ property_prefix("webkit") }}14.0 {{ property_prefix("moz") }}10.0{{ CompatNo() }}6.0 {{ property_prefix("webkit") }}
requestID return value{{ CompatUnknown() }}{{ CompatGeckoDesktop("11.0") }} {{ property_prefix("moz") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidBlackBerry BrowserChrome for AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatNo() }}10.0 {{ property_prefix("webkit") }} -

0.16 {{ property_prefix("webkit") }}

-
{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatNo() }}6.0 {{ property_prefix("webkit") }}
requestID return value{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatGeckoMobile("11.0") }} {{ property_prefix("moz") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

Notas para Gecko

- -

Antes que Gecko 11.0 {{ geckoRelease("11.0") }}, mozRequestAnimationFrame() se podía llamar sin parámetros. Esta opción ya no está soportada ya que no es probable que se convierta en parte del estándar.

- -

Notas para Chrome

- -

En estos momentos, la llamada correcta en Chrome para cancelar la petición es window.webkitCancelAnimationFrame(). La antigua versión, window.webkitCancelRequestAnimationFrame(), está obsoleta se sigue soportando por ahora.

+{{Compat("api.Window.requestAnimationFrame")}}

Especificaciones

diff --git a/files/es/web/api/window/requestidlecallback/index.html b/files/es/web/api/window/requestidlecallback/index.html index daa283a28e..f579a31dfe 100644 --- a/files/es/web/api/window/requestidlecallback/index.html +++ b/files/es/web/api/window/requestidlecallback/index.html @@ -63,57 +63,7 @@ translation_of: Web/API/Window/requestIdleCallback

Compatibilidad en Navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - -
CaracterísticaChrome Firefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte Básico{{CompatChrome(47)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidWebview AndroidFirefox para Móvil (Gecko)Firefox OSIE para MóvilOpera para MóvilSafari para MóvilChrome para Android
Soporte Básico{{CompatNo}}{{CompatChrome(47)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatChrome(47)}}
-
+{{Compat("api.Window.requestIdleCallback")}}

Vease también

diff --git a/files/es/web/api/window/scrollx/index.html b/files/es/web/api/window/scrollx/index.html index 71b0df1338..3fda049bf5 100644 --- a/files/es/web/api/window/scrollx/index.html +++ b/files/es/web/api/window/scrollx/index.html @@ -63,59 +63,7 @@ var y = (window.pageYOffset !== undefined)

Compatibilidad con navegadores

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
PrestaciónChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}9.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
PrestaciónAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Soporte básico{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("api.Window.scrollX")}}

Ver también

diff --git a/files/es/web/api/window/sessionstorage/index.html b/files/es/web/api/window/sessionstorage/index.html index 5a94e9ae5f..cb46aaa3aa 100644 --- a/files/es/web/api/window/sessionstorage/index.html +++ b/files/es/web/api/window/sessionstorage/index.html @@ -73,67 +73,7 @@ field.addEventListener("change", function() {

Compatibilidad con navegadores

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Soporte básico2.1{{ CompatUnknown }}811iOS 3.2
-
- -

Todos los navegadores tienen distintos niveles de capacidad para localStorage y para sessionStorage. Aquí encontraras un resumen detallado de todas las capacidades de almacenamiento para diversos navegadores.

- -
-

Nota: desde iOS 5.1, Safari Mobile almacena los datos de localStorage en un directorio de cache, el cual esta sujeto a limpezas ocacionales, por orden del sistema operativo, generalmente si el espacio es reducido.

-
+{{Compat("api.Window.sessionStorage")}}

Vea También

-- cgit v1.2.3-54-g00ecf