blob: 77925dacffd44011acdd67dd965c9a466cef9d3a (
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
|
# Verify that a tiled clip mask is correctly applied to a surface that
# is both a raster root and has a device-pixel ratio different than the
# primary surface (due to the scale transform).
---
root:
items:
- type: stacking-context
transform-origin: [0, 0]
transform: scale(20)
items:
- type: clip
id: 2
image-mask:
image: "circle.png"
rect: [10, 10, 10, 10]
repeat: false
tile-size: 200
-
type: "clip-chain"
id: 3
clips: [2]
- type: stacking-context
filters: [opacity(0.5)]
items:
- type: stacking-context
clip-chain: 3
items:
- type: rect
bounds: [10, 10, 10, 10]
color: blue
|