From 71c618f2ea793f0462948cfd512414c9094f7370 Mon Sep 17 00:00:00 2001 From: tristantheb Date: Fri, 30 Apr 2021 16:28:38 +0200 Subject: KS: Removal of the least used macros - l10n-frozen (#611) * KS: Deletion of KS macros used less than 100 times * FIX: Remove conflicting and orphaned files from commits= --- files/es/web/api/datatransfer/index.html | 2 -- files/es/web/api/document/cookie/index.html | 2 -- .../es/web/api/file/using_files_from_web_applications/index.html | 8 -------- files/es/web/api/html_drag_and_drop_api/index.html | 3 --- files/es/web/api/touch_events/index.html | 2 -- files/es/web/api/websockets_api/index.html | 2 -- files/es/web/api/window/open/index.html | 2 -- 7 files changed, 21 deletions(-) (limited to 'files/es/web/api') diff --git a/files/es/web/api/datatransfer/index.html b/files/es/web/api/datatransfer/index.html index 8d8a6a5b1d..01c9ba4fbf 100644 --- a/files/es/web/api/datatransfer/index.html +++ b/files/es/web/api/datatransfer/index.html @@ -143,8 +143,6 @@ translation_of: Web/API/DataTransfer

Holds a list of the format types of the data that is stored for the first item, in the same order the data was added. An empty list will be returned if no data was added.

-

{{ gecko_minversion_note("1.9.2", 'The string "Files" is included in this list if files are included in the drag.') }}

-

{{ h3_gecko_minversion("mozCursor", "1.9.1", "mozCursor") }}

The drag cursor's state. This is primarily used to control the cursor during tab drags.

diff --git a/files/es/web/api/document/cookie/index.html b/files/es/web/api/document/cookie/index.html index 631756f64e..1269f8d8a9 100644 --- a/files/es/web/api/document/cookie/index.html +++ b/files/es/web/api/document/cookie/index.html @@ -53,8 +53,6 @@ original_slug: DOM/document.cookie -
{{ gecko_callout_heading("6.0") }}
-
Nótese que previamente a Gecko 6.0 {{ geckoRelease("6.0") }}, rutas que contenían comillas eran tratadas como si las comillas fueran parte de la cadena, en lugar de considerarse como un delimitador de la ruta actual. Esto ya ha sido arreglado.

Ejemplos

diff --git a/files/es/web/api/file/using_files_from_web_applications/index.html b/files/es/web/api/file/using_files_from_web_applications/index.html index 5aceed9d6a..8f89722251 100644 --- a/files/es/web/api/file/using_files_from_web_applications/index.html +++ b/files/es/web/api/file/using_files_from_web_applications/index.html @@ -34,8 +34,6 @@ translation_of: Web/API/File/Using_files_from_web_applications

En este caso, la lista de ficheros pasada a la función handleFiles() contiene un objeto File por cada fichero seleccionado por el usuario. 

-

{{ h2_gecko_minversion("Using hidden file input elements using the click() method", "2.0") }}

-

Comenzando en Gecko 2.0 {{ geckoRelease("2.0") }}, se puede ocultar el realmente feo {{ HTMLElement("input") }} y representar tu propio interfaz para abrir el picker de ficheros y pintar que fichero o ficheros ha seleccionado el usuario. Esto se puede hacer añadiendo al elemento input la característica "display:none" en su css, o estilo y llamando al método click() del elemento {{ HTMLElement("input") }}.

Como aparece en este HTML:

@@ -75,8 +73,6 @@ function handleFiles() {

Nota: en este caso, la función handleFiles() mira la lista de ficheros con la finalidad de aceptar un parametro, mientras los eventos listeners sean añadidos de esta manera no pueden aceptar un parametro del input.

-

{{ h1_gecko_minversion("Using blob URLs", "2.0") }}

-

Gecko 2.0 {{ geckoRelease("2.0") }} introduce soporte para los métodos de DOM {{ domxref("window.createBlobURL()") }} y {{ domxref("window.revokeBlobURL()") }}. El cual te permite crear un simple string con la URL que referenciar cualquier dato que pueda referenciar usando un objeto File DOM, esto incluye los ficheros locales del usuario del dispositivo.

Cuando tienes un objeto File te gusta poder referenciarlo con una URL desde el HTML, la manera de crear tu propio blob URL para poder hacer esto es la siguiente:

@@ -192,8 +188,6 @@ function dragover(e) {

A continuación establecemos el FileReader para controlar la carga de la imagen de forma asíncrona y enlazarla con el elemento img. Después de crear el nuevo objeto FileReader, configuramos su función onload, luego llamamos a readAsDataURL() para comenzar la operación de lectura en segundo plano. Cuando el contenido completo de la imagen ha sido cargado, se convierte a  data: URL, el cuál es pasado al callback onload. Nuestra implementación de esta rutina simplemente establece el atributo src del elemento img cargado, cuyo resultado es la imagen apareciendo en la miniatura en la pantalla del usuario.

-

{{ h1_gecko_minversion("Example: Using blob URLs to display images", "2.0") }}

-

Este ejemplo el objeto blob URLs para mostrar las miniaturas de las imágenes. Además, se muestra otra información del archivo incluyendo sus nombres y tamaños. Tú puedes ver el ejemplo (tenga en cuenta que se requiere una versión Nghtly de Firefox del 23 de september 23 o mas reciente, o Firefox 4.0 beta 7).

El HTML que representa la interfaz es::

@@ -368,5 +362,3 @@ function dragover(e) {
  • Usando XMLHttpRequest
  • XMLHttpRequest
  • - -

    {{ HTML5ArticleTOC() }}

    diff --git a/files/es/web/api/html_drag_and_drop_api/index.html b/files/es/web/api/html_drag_and_drop_api/index.html index c40c43a5bb..e4e06907e3 100644 --- a/files/es/web/api/html_drag_and_drop_api/index.html +++ b/files/es/web/api/html_drag_and_drop_api/index.html @@ -53,6 +53,3 @@ original_slug: DragDrop/Drag_and_Drop
    dragend
    El origen del arrastre recibirá un evento dragend cuando la operación se haya completado, tanto si tuvo éxito como si no. Consulta Finalizar una operación de arrastre si deseas más información.
    - - -
    {{ HTML5ArticleTOC () }}
    diff --git a/files/es/web/api/touch_events/index.html b/files/es/web/api/touch_events/index.html index 0b45057ef7..91d5631401 100644 --- a/files/es/web/api/touch_events/index.html +++ b/files/es/web/api/touch_events/index.html @@ -285,8 +285,6 @@ original_slug: DOM/Touch_events

    La preferencia dom.w3c_touch_events.enabled puede ser utilizada para activar o desactivar el soporte de eventos de toque estándares; por defecto, están activados.

    -

    {{ gecko_callout_heading("12.0") }}

    -

    Antes de Gecko 12.0 {{ geckoRelease("12.0") }}, Gecko no soportaba multi-toques; solo un toque cada vez era reportado.

    diff --git a/files/es/web/api/websockets_api/index.html b/files/es/web/api/websockets_api/index.html index e1c339558f..f4ce5224fc 100644 --- a/files/es/web/api/websockets_api/index.html +++ b/files/es/web/api/websockets_api/index.html @@ -168,5 +168,3 @@ translation_of: Web/API/WebSockets_API

    Starting in Gecko 11.0, the WebSocket API is no longer prefixed.

    Warning: Among other things, a key reason WebSockets was disabled by default in Firefox 4 and 5 is the discovery of a security issue in the protocol's design. This was fixed in Firefox 6 by implementing a newer version of the protocol that corrects the problem.
    - -
    {{HTML5ArticleTOC}}
    diff --git a/files/es/web/api/window/open/index.html b/files/es/web/api/window/open/index.html index 8e0376ee75..11bd6fbeb6 100644 --- a/files/es/web/api/window/open/index.html +++ b/files/es/web/api/window/open/index.html @@ -77,8 +77,6 @@ function openRequestedPopup() {

    Características de posición y tamaño

    -
    {{gecko_minversion_note("1.9.2", "Starting in Gecko 1.9.2 (Firefox 3.6), overriding the position of a window using window features will not change the persisted values saved by the session store feature. That means the next time the window is opened, it will still open in the saved location.")}}
    -

    Note on position and dimension error correction

    {{bug(176320)}}
    -- cgit v1.2.3-54-g00ecf