Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 14964004: Implement preserveAspectRatio=none for SVG images (Closed) Base URL: svn://
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
Index: LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html
diff --git a/LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..5a0a83314f82aba88b7361c2412c5400c11e3fc5
--- /dev/null
+++ b/LayoutTests/svg/custom/image-with-preserveAspectRatio-none-expected.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+Test for preserveAspectRatio=none on images<br/>
+You should see a green box below with a black border.<br/>
+<svg width="300" height="300">
+ <svg x="10" y="10" width="100" height="100" preserveAspectRatio="none" viewBox="0 0 190 200">
+ <svg xmlns="" width="190" height="200" >
+ <rect x="0" y="0" width="190" height="200" fill="green" stroke-width="6" stroke="black"/>
+ </svg>
+ </svg>
« no previous file with comments | « LayoutTests/svg/custom/image-with-preserveAspectRatio-none.html ('k') | Source/core/rendering/svg/RenderSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698