aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/attribute/preserveaspectratio/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-01 07:45:47 +0100
committerGitHub <noreply@github.com>2021-11-01 07:45:47 +0100
commite7f1d07cba1f78b72eb43bfcdabc262359c4991a (patch)
tree04dbbcb9a5ed0ccf1cfb31bdce6a7ab9a5866be8 /files/fr/web/svg/attribute/preserveaspectratio/index.html
parentaab1606ed15d15bb1dc3a73f33dd60b7230e77fa (diff)
downloadtranslated-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/attribute/preserveaspectratio/index.html')
-rw-r--r--files/fr/web/svg/attribute/preserveaspectratio/index.html42
1 files changed, 5 insertions, 37 deletions
diff --git a/files/fr/web/svg/attribute/preserveaspectratio/index.html b/files/fr/web/svg/attribute/preserveaspectratio/index.html
index 7d5ffb6db1..894241bcf5 100644
--- a/files/fr/web/svg/attribute/preserveaspectratio/index.html
+++ b/files/fr/web/svg/attribute/preserveaspectratio/index.html
@@ -20,41 +20,6 @@ translation_of: Web/SVG/Attribute/preserveAspectRatio
&lt;/defs&gt;
&lt;!-- (largeur&gt;hauteur) meet --&gt;
- &lt;svg preserveAspectRatio="xMidYMid meet" x="0" y="0" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMinYMid meet" x="25" y="0" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMaxYMid meet" x="50" y="0" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
-
- &lt;!-- (largeur&gt;hauteur) slice --&gt;
- &lt;svg preserveAspectRatio="xMidYMin slice" x="0" y="15" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMidYMid slice" x="25" y="15" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMidYMax slice" x="50" y="15" viewBox="0 0 100 100" width="20" height="10"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
-
- &lt;!-- (largeur&lt;hauteur) meet --&gt;
- &lt;svg preserveAspectRatio="xMidYMin meet" x="75" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMidYMid meet" x="90" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMidYMax meet" x="105" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
-
- &lt;!-- (largeur&lt;hauteur) slice --&gt;
- &lt;svg preserveAspectRatio="xMinYMid slice" x="120" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMidYMid slice" x="135" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
- &lt;svg preserveAspectRatio="xMaxYMid slice" x="150" y="0" viewBox="0 0 100 100" width="10" height="25"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
-
- &lt;!-- none --&gt;
- &lt;svg preserveAspectRatio="none" x="0" y="30" viewBox="0 0 100 100" width="160" height="60"&gt;&lt;use href="#smiley" /&gt;&lt;/svg&gt;
-&lt;/svg&gt;</pre>
-
-<div class="hidden">
-<h6 id="topExample">topExample</h6>
-
-<pre class="brush: css">html,body,svg { height:100% }
-</pre>
-
-<pre class="brush: html">&lt;svg viewBox="-1 -1 162 92" xmlns="http://www.w3.org/2000/svg"&gt;
- &lt;defs&gt;
- &lt;path id="smiley" d="M50,10 A40,40,1,1,1,50,90 A40,40,1,1,1,50,10 M30,40 Q36,35,42,40 M58,40 Q64,35,70,40 M30,60 Q50,75,70,60 Q50,75,30,60" /&gt;
- &lt;/defs&gt;
-
- &lt;!-- (largeur&gt;hauteur) meet --&gt;
&lt;rect x="0" y="0" width="20" height="10"&gt;
&lt;title&gt;xMidYMid meet&lt;/title&gt;
&lt;/rect&gt;
@@ -164,7 +129,11 @@ translation_of: Web/SVG/Attribute/preserveAspectRatio
&lt;/svg&gt;
&lt;/svg&gt;</pre>
-<pre class="brush: css">path {
+
+<pre class="brush: css hidden">
+html,body,svg { height:100% }
+
+path {
fill: yellow;
stroke: black;
stroke-width: 8px;
@@ -176,7 +145,6 @@ translation_of: Web/SVG/Attribute/preserveAspectRatio
rect:hover, rect:active {
outline: 1px solid red;
}</pre>
-</div>
<p>{{EmbedLiveSample('topExample', '100%', 200)}}</p>