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

Side by Side Diff: LayoutTests/css3/compositing/mix-blend-mode-isolated-group-3.html

Issue 23503046: [CSS Blending] Implement mix-blend-mode in software. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 <html>
3 <head>
4 <style>
5
6 body {
7 background: blue;
8 }
9
10 div {
11 margin: 20px;
12 width: 130px;
13 height: 130px;
14 }
15
16 .parent {
17 position: relative;
18 z-index: -1;
19 float: left;
20 background: violet;
21 }
22
23 .child {
24 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green;
25 }
26
27 </style>
28 <body>
29 <div class="parent">
30 <div class="child" style="mix-blend-mode: normal;">
31 <div style="background-color: orange; z-index: 1; position: absolute "></div>
32 </div>
33 </div>
34 <div class="parent">
35 <div class="child" style="mix-blend-mode: multiply;">
36 <div style="background-color: orange; z-index: 1; position: absolute "></div>
37 </div>
38 </div>
39 <div class="parent">
40 <div class="child" style="mix-blend-mode: screen;">
41 <div style="background-color: orange; z-index: 1; position: absolute "></div>
42 </div>
43 </div>
44 <div class="parent">
45 <div class="child" style="mix-blend-mode: overlay;">
46 <div style="background-color: orange; z-index: 1; position: absolute "></div>
47 </div>
48 </div>
49 <div class="parent">
50 <div class="child" style="mix-blend-mode: darken;">
51 <div style="background-color: orange; z-index: 1; position: absolute "></div>
52 </div>
53 </div>
54 <div class="parent">
55 <div class="child" style="mix-blend-mode: lighten;">
56 <div style="background-color: orange; z-index: 1; position: absolute "></div>
57 </div>
58 </div>
59 <div class="parent">
60 <div class="child" style="mix-blend-mode: color-dodge;">
61 <div style="background-color: orange; z-index: 1; position: absolute "></div>
62 </div>
63 </div>
64 <div class="parent">
65 <div class="child" style="mix-blend-mode: color-burn;">
66 <div style="background-color: orange; z-index: 1; position: absolute "></div>
67 </div>
68 </div>
69 <div class="parent">
70 <div class="child" style="mix-blend-mode: hard-light;">
71 <div style="background-color: orange; z-index: 1; position: absolute "></div>
72 </div>
73 </div>
74 <div class="parent">
75 <div class="child" style="mix-blend-mode: soft-light;">
76 <div style="background-color: orange; z-index: 1; position: absolute "></div>
77 </div>
78 </div>
79 <div class="parent">
80 <div class="child" style="mix-blend-mode: difference;">
81 <div style="background-color: orange; z-index: 1; position: absolute "></div>
82 </div>
83 </div>
84 <div class="parent">
85 <div class="child" style="mix-blend-mode: exclusion;">
86 <div style="background-color: orange; z-index: 1; position: absolute "></div>
87 </div>
88 </div>
89 <div class="parent">
90 <div class="child" style="mix-blend-mode: hue;">
91 <div style="background-color: orange; z-index: 1; position: absolute "></div>
92 </div>
93 </div>
94 <div class="parent">
95 <div class="child" style="mix-blend-mode: saturation;">
96 <div style="background-color: orange; z-index: 1; position: absolute "></div>
97 </div>
98 </div>
99 <div class="parent">
100 <div class="child" style="mix-blend-mode: color;">
101 <div style="background-color: orange; z-index: 1; position: absolute "></div>
102 </div>
103 </div>
104 <div class="parent">
105 <div class="child" style="mix-blend-mode: luminosity;">
106 <div style="background-color: orange; z-index: 1; position: absolute "></div>
107 </div>
108 </div>
109 </body>
110 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698