Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: LayoutTests/svg/as-image/resources/svglogo-viewbox.svg

Issue 813133004: [svg] Reset the initial view properly in SVGImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase + add comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/as-image/resources/svglogo-viewbox.svg
diff --git a/LayoutTests/svg/as-image/resources/svglogo-viewbox.svg b/LayoutTests/svg/as-image/resources/svglogo-viewbox.svg
new file mode 100644
index 0000000000000000000000000000000000000000..0e1ad221df472c4c3bf49d39409f59ea33789e4a
--- /dev/null
+++ b/LayoutTests/svg/as-image/resources/svglogo-viewbox.svg
@@ -0,0 +1,51 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ id="root"
+ width="100%"
+ height="100%"
+ viewBox="100 100 100 100">
+
+ <title>SVG Logo</title>
+ <desc>Designed for the SVG Logo Contest in 2006 by Harvey Rayner, and adopted by W3C in 2009. It is available under the Creative Commons license for those who have an SVG product or who are using SVG on their site.</desc>
+
+ <metadata id="license">
+ <rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/">
+ <cc:Work rdf:about="">
+ <dc:title>SVG Logo</dc:title>
+ <dc:date>14-08-2009</dc:date>
+ <dc:creator>
+ <cc:Agent><dc:title>W3C</dc:title></cc:Agent>
+ <cc:Agent><dc:title>Harvey Rayner, designer</dc:title></cc:Agent>
+ </dc:creator>
+ <dc:description>See document description</dc:description>
+ <cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.5/" />
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ <cc:License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.5/">
+ <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" />
+ <cc:permits rdf:resource="http://web.resource.org/cc/Distribution" />
+ <cc:requires rdf:resource="http://web.resource.org/cc/Notice" />
+ <cc:requires rdf:resource="http://web.resource.org/cc/Attribution" />
+ <cc:prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
+ <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
+ <cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+
+ <g stroke-width="38.0086" stroke="#000">
+ <g id="svgstar" transform="translate(150, 150)">
+ <path id="svgbar" fill="#ffb13b"
+ d="M-84.1487,-15.8513 a22.4171,22.4171 0 1 0 0,31.7026 h168.2974 a22.4171,22.4171 0 1 0 0,-31.7026 Z"/>
+ <use xlink:href="#svgbar" transform="rotate(45)"/>
+ <use xlink:href="#svgbar" transform="rotate(90)"/>
+ <use xlink:href="#svgbar" transform="rotate(135)"/>
+ </g>
+ </g>
+ <use xlink:href="#svgstar"/>
+
+</svg>
« no previous file with comments | « LayoutTests/svg/as-image/resources/svglogo-scale2.svg ('k') | LayoutTests/svg/as-image/svgview-references.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698