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

Side by Side Diff: LayoutTests/svg/as-image/svg-as-image-object-fit-cover-expected.html

Issue 1019813002: Use viewBox for SVG image as intrinsic size when all else fails (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test expectations and added TODOs Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>
3 Test for 'object-fit: cover' on SVG image w/ aspect ratio but no
4 intrinsic size
5 </title>
6 <style type="text/css">
7 img {
8 background: red;
9 width: 160px;
10 height: 100px;
11 }
12 </style>
13 <img src="data:image/svg+xml,
14 <svg xmlns='http://www.w3.org/2000/svg'>
15 <rect stroke-width='20' stroke='black'
16 x='10' y='-10' width='140' height='140' fill='lime'/>
17 </svg>">
OLDNEW
« no previous file with comments | « LayoutTests/svg/as-image/svg-as-image-object-fit-cover.html ('k') | Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698