summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/rotate-snap-clip.yaml
blob: 3861bf0e21b7914fd08418ec3e4fc8ab718bc0b0 (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
# Verify that snapping on a clipped surface with a 180 deg rotation + a local 180 deg rotation works correctly
---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [0, 0, 400, 30]
          radius: {
            top-left: 2,
            top-right: 2,
            bottom-left: 2,
            bottom-right: 2,
          }
    - type: clip-chain
      id: 12
      clips: [2]
    - type: stacking-context
      clip-chain: 12
      transform: rotate(180)
      items:
        - type: stacking-context
          transform: rotate(180)
          items:
            - text: "Should be upright"
              origin: 20 24
              size: 18
              color: black
              font: "VeraBd.ttf"