From e7f1d07cba1f78b72eb43bfcdabc262359c4991a Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 1 Nov 2021 07:45:47 +0100 Subject: Prepare SVG section for Markdown conversion (#2570) * Remove summary classes * Remove hidden classes out of pre * Remove spans * Remove notranslate class * Remove ids out of headings * missed 2 ids with regex * clean note and warning cards * fix headings errors * Fix dls and as * fix imgs * lint stuff (absolute urls, english links) * Temporarily readding file * delete inexisting doc in en-US with flaws * Fixes #2842 for SVG --- files/fr/web/svg/attribute/text-anchor/index.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'files/fr/web/svg/attribute/text-anchor/index.html') diff --git a/files/fr/web/svg/attribute/text-anchor/index.html b/files/fr/web/svg/attribute/text-anchor/index.html index 8f094d8e97..449c87238f 100644 --- a/files/fr/web/svg/attribute/text-anchor/index.html +++ b/files/fr/web/svg/attribute/text-anchor/index.html @@ -13,9 +13,8 @@ browser-compat: svg.attributes.presentation.text-anchor

L'attribut text-anchor est appliqué à chaque bloc de texte individuel dans un élément <text> donné. Chaque fragment de texte a une position de texte actuelle initiale, qui représente le point du système de coordonnées de l'utilisateur résultant (selon le contexte) de l'application des attributs x et y sur l'élément <text>, toute valeur d'attribut x ou y sur un élément <tspan>, <tref> ou <altGlyph> assigné explicitement au premier caractère rendu dans un fragment de texte, ou la détermination de la position initiale du texte actuel pour un élément <textPath>.

-
-

Note :

-

En tant qu'attribut de présentation, text-anchor peut être utilisé comme une propriété CSS.

+
+

Note : En tant qu'attribut de présentation, text-anchor peut être utilisé comme une propriété CSS.

Cet attribut peut être utilisé pour les éléments SVG suivants :

@@ -28,12 +27,12 @@ browser-compat: svg.attributes.presentation.text-anchor
  • <tspan>
  • -
    - +
    <svg viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg">
       <!-- Matérialisation des ancrages -->
    @@ -56,8 +55,7 @@ browser-compat: svg.attributes.presentation.text-anchor
       ]]></style>
     </svg>
    -

    {{EmbedLiveSample("topExample", "120", "120")}}

    -
    +

    {{EmbedLiveSample("exemple", "120", "120")}}

    Notes d'utilisation

    -- cgit v1.2.3-54-g00ecf