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/stroke/index.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'files/fr/web/svg/attribute/stroke/index.html') diff --git a/files/fr/web/svg/attribute/stroke/index.html b/files/fr/web/svg/attribute/stroke/index.html index d9e92d5a03..01e3b44595 100644 --- a/files/fr/web/svg/attribute/stroke/index.html +++ b/files/fr/web/svg/attribute/stroke/index.html @@ -10,14 +10,15 @@ translation_of: Web/SVG/Attribute/stroke

L'attribut stroke définit la couleur (ou n'importe quelle méthode de remplissage, comme un gradient ou motif) a utiliser pour dessiner le contour d'une forme SVG.

-

Note: stroke étant un attribut de présentation, il peut être utilisé comme propriété CSS.

+
+

Note : stroke étant un attribut de présentation, il peut être utilisé comme propriété CSS.

+

Cet attribut peut être appliqué à tout élément, en revanche il n'aura d'effet que sur les éléments suivants: {{SVGElement('altGlyph')}}, {{SVGElement('circle')}}, {{SVGElement('ellipse')}}, {{SVGElement('path')}}, {{SVGElement('polygon')}}, {{SVGElement('polyline')}}, {{SVGElement('rect')}}, {{SVGElement('text')}}, {{SVGElement('textPath')}}, {{SVGElement('tref')}}, and {{SVGElement('tspan')}}

-
- +

Exemple

+ +
<svg viewBox="0 0 20 10" xmlns="http://www.w3.org/2000/svg">
 
@@ -37,8 +38,7 @@ translation_of: Web/SVG/Attribute/stroke
 </svg>
 
-

{{EmbedLiveSample('topExample', '100%', 200)}}

-
+

{{EmbedLiveSample('exemple', '100%', 200)}}

Notes d'usage

@@ -74,7 +74,7 @@ translation_of: Web/SVG/Attribute/stroke {{SpecName("SVG2", "painting.html#StrokeProperty", "stroke")}} {{Spec2("SVG2")}} Définition pour les formes et le texte.
- Ajoute context-fill et context-stroke. + Ajoute context-fill et context-stroke. {{SpecName("SVG1.1", "painting.html#StrokeProperty", "stroke")}} @@ -84,8 +84,10 @@ translation_of: Web/SVG/Attribute/stroke -

Compatibilité des navigateurs

+

Compatibilité des navigateurs

{{Compat("svg.attributes.presentation.stroke")}}

-

Note: Pour plus d'informations sur les valeurs de context-stroke (et context-fill) à partir de documents HTML, voir la documentation pour la propriété non-standard {{cssxref("-moz-context-properties")}}.

+
+

Note : Pour plus d'informations sur les valeurs de context-stroke (et context-fill) à partir de documents HTML, voir la documentation pour la propriété non-standard {{cssxref("-moz-context-properties")}}.

+
-- cgit v1.2.3-54-g00ecf