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

Unified Diff: LayoutTests/svg/as-image/svgview-references.html

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/svgview-references.html
diff --git a/LayoutTests/svg/as-image/svgview-references.html b/LayoutTests/svg/as-image/svgview-references.html
new file mode 100644
index 0000000000000000000000000000000000000000..7a60a9828951ac719e36d67e885640bbe2bf1d05
--- /dev/null
+++ b/LayoutTests/svg/as-image/svgview-references.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<head>
+ <title>SVG with img viewBox linking</title>
+ <style>
+ .example { width: 200px; height: 200px; border: 2px solid black; display: inline-block; margin: 20px; }
+ </style>
+</head>
+<img class="example" src="resources/svglogo.svg"/>
+<img class="example" src="resources/svglogo.svg#svgView(viewBox(0,0,150,150))"/>
+<img class="example" src="resources/svglogo.svg#svgView(viewBox(100,100,100,100))"/>
« no previous file with comments | « LayoutTests/svg/as-image/resources/svglogo-viewbox.svg ('k') | LayoutTests/svg/as-image/svgview-references-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698