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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size.html

Issue 1756763004: Merge image sizing algorithms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unused variable 'styleImage' in release Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Test SVG in -webkit-cross-fade image</title>
3 <style>
4 div {
5 display: inline-block;
6 width: 100px;
7 height: 100px;
8 }
9 #tst1 {
10 background-image: -webkit-cross-fade(
11 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='green'/></svg>"),
12 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='red'/></svg>"),
13 0);
14 }
15 #tst2 {
16 background-image: -webkit-cross-fade(
17 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='red'/></svg>"),
18 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='green'/></svg>"),
19 1.0);
20 }
21 #tst3 {
22 background-image: -webkit-cross-fade(
23 url("resources/green-10.png"),
24 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='green'/></svg>"),
25 1.0);
26 }
27 #tst4 {
28 background-image: -webkit-cross-fade(
29 url("data:image/svg+xml,<svg viewBox='0 0 10 10' xmlns='http://www.w3.or g/2000/svg'><circle cx='5' cy='5' r='2.5' fill='green'/></svg>"),
30 url("resources/green-10.png"),
31 0.0);
32 }
33 </style>
34 <p>There should be four green circles below.
35 <div id=tst1></div>
36 <div id=tst2></div>
37 <div id=tst3></div>
38 <div id=tst4></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698