Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/wr/wrench/reftests/image/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  snapshot-complex-clip.yaml   Sprache: unbekannt

 
Spracherkennung für: .yaml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# This test case contains a snapshotted picture with a single
# child stacking context with a clip applied. In the general
# clips are hoisted out of picture if all of their children share
# it, but we rely on the clip being baked in the snapshot so
# This test should that snapshotted picture and the snapshot image
# both affected by the clip.
---
root:
  items:
    - type: stacking-context
      bounds: [0010001000]
      items:
      - type: stacking-context
        bounds: [00200200]
        snapshot:
          name: "snap0"
        items:
          - type: clip
            id: 101
            complex:
              - rect: [1010180180]
                radius: [3216]
                clip-mode: clip-out
          - type: clip-chain
            id: 201
            clips: [101]
          - type: stacking-context
            bounds: [00200200]
            clip-chain: 201
            items:
            - type: rect
              bounds: [00200200]
              color: green
              clip-chain: 201
            - type: rect
              bounds: [100100100100]
              color: [100100100]

      - image: snapshot(snap0)
        bounds: [2000200200]

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-08-25]