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

Unified Diff: LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html

Issue 14964004: Implement preserveAspectRatio=none for SVG images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html
diff --git a/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html
new file mode 100644
index 0000000000000000000000000000000000000000..451719c60acc4c65969b7ea4c19e41e580fa94a0
--- /dev/null
+++ b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<body>
+Test for crbug.com/173360: preserveAspectRatio=none on images<br/>
+You should see a green box below with a black border.<br/>
+<svg width="300" height="300">
+ <rect x="11" y="11" width="98" height="98" fill="red"/>
+ <image x="10" y="10" width="100" height="100" preserveAspectRatio="none" xlink:href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="190" height="200" viewBox="0 0 190 200"><rect x="0" y="0" width="190" height="200" fill="green" stroke-width="6" stroke="black"/></svg>' />
+</svg>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698