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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <svg width="100" height="100" style="background-color: red"> 2 <svg width="100" height="100" style="background-color: green">
3 <image width="100" height="100" preserveAspectRatio="none" 3 <image width="100" height="100" preserveAspectRatio="none"
4 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>"/> 4 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>"/>
5 </svg> 5 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698