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/fill-rule/index.html | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'files/fr/web/svg/attribute/fill-rule/index.html') diff --git a/files/fr/web/svg/attribute/fill-rule/index.html b/files/fr/web/svg/attribute/fill-rule/index.html index 63503dc77b..04872838d2 100644 --- a/files/fr/web/svg/attribute/fill-rule/index.html +++ b/files/fr/web/svg/attribute/fill-rule/index.html @@ -10,14 +10,15 @@ translation_of: Web/SVG/Attribute/fill-rule

L'attribut fill-rule définit l'algorithme à utiliser pour déterminer les parties qui sont considérées à l'intérieur de la forme.

-

Note: fill-rule est un attribut de présentation et peut donc être utilisé comme propriété CSS.

+
+

Note : fill-rule est un attribut de présentation et peut donc être utilisé comme propriété CSS.

+

Cet attribut peut être appliqué à n'importe quel élément mais n'aura d'effet que sur les éléments suivants: {{SVGElement('altGlyph')}}, {{SVGElement('path')}}, {{SVGElement('polygon')}}, {{SVGElement('polyline')}}, {{SVGElement('text')}}, {{SVGElement('textPath')}}, {{SVGElement('tref')}}, et {{SVGElement('tspan')}}

-
- +

Exemple

+ +
<svg viewBox="-10 -10 220 120" xmlns="http://www.w3.org/2000/svg">
   <!-- Valeur par défaut pour fill-rule -->
@@ -34,9 +35,8 @@ translation_of: Web/SVG/Attribute/fill-rule
   <polygon fill-rule="evenodd" stroke="red"
    points="150,0 121,90 198,35 102,35 179,90"/>
 </svg>
-
-

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

+

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

Usage

@@ -67,9 +67,7 @@ translation_of: Web/SVG/Attribute/fill-rule

Exemple

- +
<svg viewBox="-10 -10 320 120" xmlns="http://www.w3.org/2000/svg">
   <!-- Effet de la règle de remplissage sur les segments qui se croisent -->
@@ -103,9 +101,7 @@ translation_of: Web/SVG/Attribute/fill-rule
 
 

Exemple

- +
<svg viewBox="-10 -10 320 120" xmlns="http://www.w3.org/2000/svg">
   <!-- Effet de la règle de remplissage sur les segments qui se croisent -->
@@ -133,7 +129,7 @@ translation_of: Web/SVG/Attribute/fill-rule
 
 

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

-

Compatibilité des navigateurs

+

Compatibilité des navigateurs

{{Compat("svg.attributes.presentation.fill-rule")}}

-- cgit v1.2.3-54-g00ecf