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

Unified Diff: LayoutTests/svg/custom/svg-image-par-none-viewbox-no-intrinsic-size.html

Issue 713263002: Use the viewBox when scaling <svg:image>s non-uniformly w/ pAR=none (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: The computeImageViewportSize approach. Created 6 years, 1 month 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/svg-image-par-none-viewbox-no-intrinsic-size.html
diff --git a/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size.html b/LayoutTests/svg/custom/svg-image-par-none-viewbox-no-intrinsic-size.html
similarity index 69%
copy from LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size.html
copy to LayoutTests/svg/custom/svg-image-par-none-viewbox-no-intrinsic-size.html
index 865c97ad20b1b629f52605b784145fc65b5c6e3f..43411ae837d2787e8b6d16a6b46d6c466cb05571 100644
--- a/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size.html
+++ b/LayoutTests/svg/custom/svg-image-par-none-viewbox-no-intrinsic-size.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<svg width="100" height="200" style="background-color: red">
<image width="100" height="200" preserveAspectRatio="none"
- xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'><rect width='100' height='200' fill='green'/></svg>"/>
+ xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='green'/></svg>"/>
</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/custom/svg-image-par-none-viewbox-no-intrinsic-size-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698