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

Quelle  clip-2d-z-rotations.yaml   Sprache: unbekannt

 
# Ensure that we correctly handle clips that are 2d axis-aligned but
# fiddle with the z-coordinate of the primitive without preserve-3d
---
root:
  items:
    - type: stacking-context
      transform: rotate-x(45) rotate-z(45) translate(200, 200)
      transform-origin: 100 100
      items:
        - type: stacking-context
          transform: rotate-z(-45) rotate-y(45) translate(20, 0)
          transform-origin: 100 100
          items:
            - type: clip
              id: 3
              complex:
                - rect: [0, 0, 200, 100]
                  radius: 16
            - bounds: [0, 0, 200, 100]
              type: rect
              color: red
              clip-chain: [3]

[ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet)  ]