aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/attribute/stroke-miterlimit/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/svg/attribute/stroke-miterlimit/index.html')
-rw-r--r--files/fr/web/svg/attribute/stroke-miterlimit/index.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/files/fr/web/svg/attribute/stroke-miterlimit/index.html b/files/fr/web/svg/attribute/stroke-miterlimit/index.html
index 76ce54a173..f1dfd341e8 100644
--- a/files/fr/web/svg/attribute/stroke-miterlimit/index.html
+++ b/files/fr/web/svg/attribute/stroke-miterlimit/index.html
@@ -10,14 +10,15 @@ translation_of: Web/SVG/Attribute/stroke-miterlimit
<p>L'attribut <strong><code>stroke-miterlimit</code></strong> définit la limite du rapport entre la longueur du coin et la valeur de {{ SVGAttr("stroke-width") }} utilisée pour dessiner la <a href="/fr/docs/Web/SVG/Attribute/stroke-linejoin">liaison entre deux segments de ligne</a>. Quand la limite est dépassée, la liaison passe du type <em>miter</em> (pointu) au type <em>bevel</em> (biseauté).</p>
-<p class="note"><strong>Note:</strong> L'attribut <code>stroke-miterlimit</code> étant un attribut de présentation, il peut être utilisé comme propriété CSS.</p>
+<div class="note">
+ <p><strong>Note:</strong> L'attribut <code>stroke-miterlimit</code> étant un attribut de présentation, il peut être utilisé comme propriété CSS.</p>
+</div>
<p>Cet attribut peut être appliqué à n'importe quel élément, en revanche il n'aura d'effet que sur les éléments suivants: {{SVGElement('altGlyph')}}, {{SVGElement('path')}}, {{SVGElement('polygon')}}, {{SVGElement('polyline')}}, {{SVGElement('rect')}}, {{SVGElement('text')}}, {{SVGElement('textPath')}}, {{SVGElement('tref')}}, and {{SVGElement('tspan')}}</p>
-<div id="topExample">
-<div class="hidden">
-<pre class="brush: css">html,body,svg { height:100% }</pre>
-</div>
+<h2>Exemple</h2>
+
+<pre class="brush: css hidden">html,body,svg { height:100% }</pre>
<pre class="brush: html">&lt;svg viewBox="0 0 38 30" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;!-- Impact du miterlimit par défaut --&gt;
@@ -53,8 +54,7 @@ translation_of: Web/SVG/Attribute/stroke-miterlimit
M1,29 l7,-3 l7,3 m2,0 l3.5,-3 l3.5,3 m2,0 l2,-3 l2,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5,-3 l0.5,3" /&gt;
&lt;/svg&gt;</pre>
-<p>{{EmbedLiveSample('topExample', '100%', 400)}}</p>
-</div>
+<p>{{EmbedLiveSample('exemple', '100%', 400)}}</p>
<p>Quand deux segments de ligne se recontrent en angle aigu, et la liaison définit par {{ SVGAttr("stroke-linejoin") }} vaut <code>miter</code>, il est possible que le coin s'étende bien au-delà de l'épaisseur de la ligne du contour. Le ratio <code>stroke-miterlimit</code> est utilisé pour définir une limite à partir de laquelle la liaison est convertie de <em>miter</em> à <em>bevel</em>.</p>
@@ -70,7 +70,7 @@ translation_of: Web/SVG/Attribute/stroke-miterlimit
<tbody>
<tr>
<th scope="row">Valeur</th>
- <td><strong><a href="/en/SVG/Content_type#Number" title="en/SVG/Content_type#Number">&lt;number&gt;</a></strong></td>
+ <td><strong><a href="/fr/SVG/Content_type#Number" title="en/SVG/Content_type#Number">&lt;number&gt;</a></strong></td>
</tr>
<tr>
<th scope="row">Valeur par défaut</th>
@@ -85,7 +85,7 @@ translation_of: Web/SVG/Attribute/stroke-miterlimit
<p>La valeur de <code>stroke-miterlimit</code> doit être supérieure ou égale à 1.</p>
-<h2 id="Browser_Compatibility" name="Browser_Compatibility">Compatibilité des navigateurs</h2>
+<h2 id="Browser_Compatibility">Compatibilité des navigateurs</h2>
<p>{{Compat("svg.attributes.presentation.stroke-miterlimit")}}</p>