summaryrefslogtreecommitdiff
path: root/testsuite/reftests/background-blend-mode-clip-interaction.css
blob: 227f14e333a1b0b67af35929d660ced84b778366 (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
* {all: unset; }

window {
  background: lime;
}

box {
  background-color: red;
  background-image: linear-gradient(yellow, yellow), linear-gradient(white, white);
  background-clip: border-box, content-box;
  background-size: 50% 100%, 100% 50%;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  padding: 10px;
  border: 1px solid blue;
}

window#reference box {
  background-image: linear-gradient(red,red), linear-gradient(yellow, yellow);
  background-clip: content-box, border-box;
  background-size: 100% 100%, 50% 100%;
  background-color: transparent;
  background-blend-mode: normal;
}