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

Unified Diff: LayoutTests/svg/custom/svg-image-par-none-zero-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-zero-intrinsic-size.html
diff --git a/LayoutTests/svg/custom/svg-image-par-none-zero-intrinsic-size.html b/LayoutTests/svg/custom/svg-image-par-none-zero-intrinsic-size.html
index 5f819d70dffc8cc02ee4f2626d088c838fcf36c5..4322bd4cfa3acc305fd86ba450ac905ecc1d3f16 100644
--- a/LayoutTests/svg/custom/svg-image-par-none-zero-intrinsic-size.html
+++ b/LayoutTests/svg/custom/svg-image-par-none-zero-intrinsic-size.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<svg width="100" height="100" style="background-color: red">
+<svg width="100" height="100" style="background-color: green">
<image width="100" height="100" preserveAspectRatio="none"
- xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='0'><rect width='100' height='100' fill='green'/></svg>"/>
+ xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='0'><rect width='100' height='100' fill='red'/></svg>"/>
</svg>

Powered by Google App Engine
This is Rietveld 408576698