blob: ee3bba5ab3a513d021c465b8fd3b2763dbb37431 (
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
|
# Ensure that a backdrop-filter enclosed by a stacking context with
# a clip-mask can select the correct backdrop root
---
root:
items:
- type: clip
id: 2
image-mask:
image: solid-color(255,255,255,255,128,128)
rect: [64, 64, 128, 128]
repeat: false
-
type: "clip-chain"
id: 3
clips: [2]
- type: stacking-context
backdrop-root: true
items:
- type: rect
bounds: 0 0 256 256
color: red
- type: stacking-context
clip-chain: 3
wraps-backdrop-filter: true
items:
- type: backdrop-filter
bounds: 0 0 256 256
filters: invert(1)
|