From 6f85683973762f84f6d99211b3b6158059e16f5a Mon Sep 17 00:00:00 2001 From: tristantheb Date: Sun, 6 Jun 2021 11:44:55 +0200 Subject: UPDATE: Update translation of the HTML attributes (#706) * UPDATE: Refresh of the index page and remove KS * L10N: Translation of the accept attributes * UPDATE: Refresh of the autocomplete attribute * L10N: Translation of the capture attribute * Revert accept with BCD (but table not exist) * UPDATE: Refresh the crossorigin attribute * L10N: Translation of the disabled attribute * L10N: Translation of the elementtiming attribute * L10N: Translation of the for attribute * L10N: Translation of the max attribute * L10N: Translation of the maxlength attribute * L10N: Translation of the min attribute * FIX: Add missing summary * L10N: Translation of the minlength attribute * L10N: Translation of the multiple attribute * UPDATE: Refresh the pattern attribute * L10N: Translation of the readonly attribute * L10N: Translation of the rel attribute * L10N: Translation of the required attribute * L10N: Translation of the size attribute * L10N: Translation of the step attribute * Review - attr accept * Typo live sample * Review - capture * Review - autocomplete * Review - crossorigin * Review disabled * Review elementtiming * Review - for * Review max * Review - maxlength * Review min * Review minlength * Review multiple * Review pattern * Review readonly * Review rel * Review required * Review size * Review step * Review attributes index Co-authored-by: julieng --- .../web/html/attributes/elementtiming/index.html | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 files/fr/web/html/attributes/elementtiming/index.html (limited to 'files/fr/web/html/attributes/elementtiming') diff --git a/files/fr/web/html/attributes/elementtiming/index.html b/files/fr/web/html/attributes/elementtiming/index.html new file mode 100644 index 0000000000..8335ba0ed6 --- /dev/null +++ b/files/fr/web/html/attributes/elementtiming/index.html @@ -0,0 +1,65 @@ +--- +title: 'Attribut HTML : elementtiming' +slug: Web/HTML/Attributes/elementtiming +tags: + - Attribute + - Attributes + - HTML + - elementtiming + - Performance + - Reference +translation_of: Web/HTML/Attributes/elementtiming +--- +

{{HTMLSidebar}}

+ +

L'attribut elementtiming est utilisé pour indiquer qu'un élément est marqué pour le suivi par l'API Element Timing. Cet attribut peut être appliqué aux éléments <img>, <image> à l'intérieur d'un <svg>, aux vignettes des éléments <video>, aux éléments qui ont un background-image et aux éléments contenant des noeuds de texte, comme un paragraphe (<p>).

+ +

Utilisation

+ +

La valeur donnée pour elementtiming devient un identifiant pour l'élément observé.

+ +
<img alt="alt" src="img.jpg" elementtiming="étiquette pour l'élément">
+ +

De bons candidats pour les éléments que vous pourriez vouloir observer sont :

+ + + +

Exemples

+ +
<img alt="Alt pour l'image principale d'un article de blog"
+     src="my-massive-image.jpg"
+     elementtiming="Image principale">
+
+<p elementtiming="important-text">Quelques informations importantes.</p">
+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatut
{{SpecName('Element Timing API', '#sec-modifications-DOM', 'elementtiming')}}{{Spec2('Element Timing API')}}
+ +

Compatibilité des navigateurs

+ +

{{Compat("html.elements.attribute.elementtiming")}}

+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf