aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/svg/element/view/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
commit4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch)
treed4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/de/web/svg/element/view/index.html
parent33058f2b292b3a581333bdfb21b8f671898c5060 (diff)
downloadtranslated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip
initial commit
Diffstat (limited to 'files/de/web/svg/element/view/index.html')
-rw-r--r--files/de/web/svg/element/view/index.html149
1 files changed, 149 insertions, 0 deletions
diff --git a/files/de/web/svg/element/view/index.html b/files/de/web/svg/element/view/index.html
new file mode 100644
index 0000000000..eea389a533
--- /dev/null
+++ b/files/de/web/svg/element/view/index.html
@@ -0,0 +1,149 @@
+---
+title: <view>
+slug: Web/SVG/Element/view
+translation_of: Web/SVG/Element/view
+---
+<div>{{SVGRef}}</div>
+
+<p>&lt;view&gt; ist ein definierter Weg, das Bild zu betrachten, wie eine Vergrößerungsstufe oder eine Detail-Ansicht.</p>
+
+<h2 id="Gebrauchs-Kontext">Gebrauchs-Kontext</h2>
+
+<p>{{svginfo}}</p>
+
+<h2 id="Attribute">Attribute</h2>
+
+<h3 id="Globale_Attribute">Globale Attribute</h3>
+
+<ul>
+ <li><a href="/en-US/docs/Web/SVG/Attribute#Aria_attributes" title="en/SVG/Attribute#Core">Bereichattribute</a> »</li>
+ <li><a href="/en-US/docs/Web/SVG/Attribute#Core_attributes" title="en/SVG/Attribute#Core">Kernattribute</a> »</li>
+ <li><a href="/en-US/docs/Web/SVG/Attribute#Global_event_attributes" title="en/SVG/Attribute#Core">Globale Ereignisattribute</a> »</li>
+ <li>{{SVGAttr("externalResourcesRequired")}}</li>
+</ul>
+
+<h3 id="Spezifische_Attribute">Spezifische Attribute</h3>
+
+<ul>
+ <li>{{SVGAttr("viewBox")}}</li>
+ <li>{{SVGAttr("preserveAspectRatio")}}</li>
+ <li>{{SVGAttr("zoomAndPan")}}</li>
+ <li>{{SVGAttr("viewTarget")}}</li>
+</ul>
+
+<h2 id="Beispiel">Beispiel</h2>
+
+<h3 id="SVG">SVG</h3>
+
+<pre class="brush: html">&lt;svg width="600" height="200" viewBox="0 0 600 200"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
+ &lt;defs&gt;
+ &lt;radialGradient id="gradient"&gt;
+ &lt;stop offset="0%" stop-color="#8cffa0" /&gt;
+ &lt;stop offset="100%" stop-color="#8ca0ff" /&gt;
+ &lt;/radialGradient&gt;
+ &lt;/defs&gt;
+
+ &lt;circle r="50" cx="180" cy="50" style="fill:url(#gradient)"/&gt;
+
+ &lt;view id="halfSizeView" viewBox="0 0 1200 400"/&gt;
+ &lt;view id="normalSizeView" viewBox="0 0 600 200"/&gt;
+ &lt;view id="doubleSizeView" viewBox="0 0 300 100"/&gt;
+
+ &lt;a xlink:href="#halfSizeView"&gt;
+ &lt;text x="5" y="20" font-size="20"&gt;half size&lt;/text&gt;
+ &lt;/a&gt;
+ &lt;a xlink:href="#normalSizeView"&gt;
+ &lt;text x="5" y="40" font-size="20"&gt;normal size&lt;/text&gt;
+ &lt;/a&gt;
+ &lt;a xlink:href="#doubleSizeView"&gt;
+ &lt;text x="5" y="60" font-size="20"&gt;double size&lt;/text&gt;
+ &lt;/a&gt;
+&lt;/svg&gt;</pre>
+
+<h3 id="Ergebnis">Ergebnis</h3>
+
+<p>{{EmbedLiveSample("Example", 600, 200)}}</p>
+
+<h2 id="DOM_Interface">DOM Interface</h2>
+
+<p>This element implements the {{domxref("SVGViewElement")}} interface.</p>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('SVG2', 'linking.html#ViewElement', '&lt;view&gt;')}}</td>
+ <td>{{Spec2('SVG2')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('SVG1.1', 'linking.html#ViewElement', '&lt;view&gt;')}}</td>
+ <td>{{Spec2('SVG1.1')}}</td>
+ <td>Initial definition</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Edge</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoDesktop("15.0")}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Edge</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoMobile("15.0")}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>