Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / css3 / compositing / background-blend-mode-tiled-gradient.html
1 <!DOCTYPE HTML>
2 <script>
3   if (window.testRunner)
4     window.testRunner.dumpAsTextWithPixelResults();
5 </script>
6 <style>
7
8 li
9 {
10   margin: 5px;
11   width: 130px;
12   height: 130px;
13   background: linear-gradient(to right, #00ffff 0%, rgba(0,0,255,0) 24%, #ff0000 50%, #ffff00 75%, #00ff00 100%) 0 0 /50% 50%,
14               url("resources/ducky.png") 0 0 /100% 100%;
15   display: block;
16   float: left;
17 }
18 </style>
19 <!-- this file should contain a gradient repeated four times on top of a duck with every type of blending -->
20 <body style="background-color: green">
21 <ul>
22 <li style="background-blend-mode: normal, normal"></li>
23 <li style="background-blend-mode: multiply, normal"></li>
24 <li style="background-blend-mode: screen, normal"></li>
25 <li style="background-blend-mode: overlay, normal; opacity:.9"></li>
26 <li style="background-blend-mode: darken, normal"></li>
27 <li style="background-blend-mode: lighten, normal"></li>
28 <li style="background-blend-mode: color-dodge, normal"></li>
29 <li style="background-blend-mode: color-burn, normal"></li>
30 <li style="background-blend-mode: hard-light, normal"></li>
31 <li style="background-blend-mode: soft-light, normal"></li>
32 <li style="background-blend-mode: difference, normal"></li>
33 <li style="background-blend-mode: exclusion, normal"></li>
34 <li style="background-blend-mode: hue, normal;"></li>
35 <li style="background-blend-mode: saturation, normal"></li>
36 <li style="background-blend-mode: color, normal"></li>
37 <li style="background-blend-mode: luminosity, normal"></li>
38 </ul>
39 </body>
40