diff options
author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-11-01 07:45:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 07:45:47 +0100 |
commit | e7f1d07cba1f78b72eb43bfcdabc262359c4991a (patch) | |
tree | 04dbbcb9a5ed0ccf1cfb31bdce6a7ab9a5866be8 /files/fr/web/svg/element/tspan | |
parent | aab1606ed15d15bb1dc3a73f33dd60b7230e77fa (diff) | |
download | translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.gz translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.bz2 translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.zip |
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
Diffstat (limited to 'files/fr/web/svg/element/tspan')
-rw-r--r-- | files/fr/web/svg/element/tspan/index.html | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/files/fr/web/svg/element/tspan/index.html b/files/fr/web/svg/element/tspan/index.html index 8221e0cc27..0c80f3a94e 100644 --- a/files/fr/web/svg/element/tspan/index.html +++ b/files/fr/web/svg/element/tspan/index.html @@ -16,19 +16,34 @@ translation_of: Web/SVG/Element/tspan <p>{{svginfo}}</p> -<h2 id="Exemple">Exemple</h2> +<h2>Exemple</h2> -<p>» <a href="https://developer.mozilla.org/files/3338/tspan.svg">tspan.svg</a></p> +<pre class="brush: css hidden">html,body,svg { height:100% }</pre> + +<pre class="brush: html; highlight[9]"><svg viewBox="0 0 240 40" xmlns="http://www.w3.org/2000/svg"> + <style> + text { font: italic 12px serif; } + tspan { font: bold 10px sans-serif; fill: red; } + </style> + + <text x="10" y="30" class="small"> + Vous êtes + <tspan>not</tspan> + une banane ! + </text> +</svg></pre> + +<p>{{EmbedLiveSample('exemple', 100, '100%')}}</p> <h2 id="Attributs">Attributs</h2> <h3 id="Attributs_globaux">Attributs globaux</h3> <ul> - <li><a href="https://developer.mozilla.org/en-US/docs/SVG/Attribute#ConditionalProccessing" title="SVG/Attribute#ConditionalProccessing">Attributs de traitement conditionnel</a> »</li> - <li><a href="https://developer.mozilla.org/en-US/docs/SVG/Attribute#Core" title="SVG/Attribute#Core">Attributs de base</a> »</li> - <li><a href="https://developer.mozilla.org/en-US/docs/SVG/Attribute#GraphicalEvent" title="SVG/Attribute#GraphicalEvent">Attributs d'évènements graphiques</a> »</li> - <li><a href="https://developer.mozilla.org/en-US/docs/SVG/Attribute#Presentation" title="SVG/Attribute#Presentation">Attributs de présentation</a> »</li> + <li><a href="/fr/docs/SVG/Attribute#ConditionalProccessing" title="SVG/Attribute#ConditionalProccessing">Attributs de traitement conditionnel</a> »</li> + <li><a href="/fr/docs/SVG/Attribute#Core" title="SVG/Attribute#Core">Attributs de base</a> »</li> + <li><a href="/fr/docs/SVG/Attribute#GraphicalEvent" title="SVG/Attribute#GraphicalEvent">Attributs d'évènements graphiques</a> »</li> + <li><a href="/fr/docs/SVG/Attribute#Presentation" title="SVG/Attribute#Presentation">Attributs de présentation</a> »</li> <li>{{SVGAttr("class")}}</li> <li>{{SVGAttr("style")}}</li> <li>{{SVGAttr("externalResourcesRequired")}}</li> @@ -48,7 +63,7 @@ translation_of: Web/SVG/Element/tspan <h2 id="Interface_DOM">Interface DOM</h2> -<p>Cet élément implémente l'interface <code><a href="/en-US/docs/Web/API/SVGTSpanElement">SVGTSpanElement</a></code>.</p> +<p>Cet élément implémente l'interface <code><a href="/fr/docs/Web/API/SVGTSpanElement">SVGTSpanElement</a></code>.</p> <h2 id="Spécifications">Spécifications</h2> |