summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/background-blend-mode-crossfade-image-gradient.html
blob: 8fb5138a63db54fb2d9a4f166d8ed8c7fdc3276a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE HTML>
<html>
<head>
<style>
    div {
        margin: 5px;
        width: 130px;
        height: 130px;
        background: -webkit-cross-fade(url('resources/ducky.png'), url('resources/blue-circle.svg'), 50%) no-repeat 0 0 /100% 100%,
        linear-gradient(to right, #00ffff 0%, rgba(0,0,255,0) 24%, #ff0000 50%, #ffff00 75%, #00ff00 100%) 0 0 /100% 100%;
        float: left;
    }
</style>
<!-- This file should contain a corss-faded image between a duck and a circle, on top of a linear gradient for every type of blending -->
<body>
    <div style="background-blend-mode: normal, normal"></div>
    <div style="background-blend-mode: multiply, normal"></div>
    <div style="background-blend-mode: screen, normal"></div>
    <div style="background-blend-mode: overlay, normal"></div>
    <div style="background-blend-mode: darken, normal"></div>
    <div style="background-blend-mode: lighten, normal"></div>
    <div style="background-blend-mode: color-dodge, normal"></div>
    <div style="background-blend-mode: color-burn, normal"></div>
    <div style="background-blend-mode: hard-light, normal"></div>
    <div style="background-blend-mode: soft-light, normal"></div>
    <div style="background-blend-mode: difference, normal"></div>
    <div style="background-blend-mode: exclusion, normal"></div>
    <div style="background-blend-mode: hue, normal;"></div>
    <div style="background-blend-mode: saturation, normal"></div>
    <div style="background-blend-mode: color, normal"></div>
    <div style="background-blend-mode: luminosity, normal"></div>
</body>
</html>