Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/gfx/wr/wrench/reftests/image/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 689 B image not shown  

Quelle  snapshot-detached.yaml   Sprache: unbekannt

 
# This test case contains a detached snapshotted stacking context
# displayed as an image.
# This means that the stacking context should appear only once as
# an image, while the original stacking context is "detached" from
# the scene and not shown.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
      - type: stacking-context
        bounds: [10, 10, 200, 200]
        snapshot:
          name: "snap0"
          area: [-10, -10, 120, 120]
          detached: true
        items:
          - type: rect
            bounds: [10, 10, 80, 80]
            color: [0, 150, 0]

      - image: snapshot(snap0)
        bounds: [210, 10, 120, 120]

[ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ]