Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / images / cross-fade-sizing.html
blob4ee194bc638a1f29cb0bcca0828115a822e1b2d8
1 <html>
2 <style>
3 div
5 width: 100px;
6 height: 100px;
7 margin: 10px;
8 background-repeat: no-repeat;
10 </style>
11 <!--The first cross-fade should appear as a 100% green square, 10x10px.-->
12 <div style="background-image: -webkit-cross-fade(url(resources/red-100.png), url(resources/green-10.png), 100%);"></div>
13 <!--The second cross-fade should appear as a 100% green square, 100x100px.-->
14 <div style="background-image: -webkit-cross-fade(url(resources/green-100.png), url(resources/red-10.png), 0%);"></div>
15 <!--The third cross-fade should appear as a blue-green square, 55x55px.-->
16 <div style="background-image: -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-10.png), 50%);"></div>
17 </html>