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

Quelle  order-2.yaml   Sprache: unbekannt

 
# The "preserve-3d" context has a "flat" child, which contains two other stacking contexts
# that have their Z modified. The Z should not affect their drawing order, since they
# are hidden from the 3D hierarchy by the flat parent.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 100, 100]
      transform-style: preserve-3d
      items:
        - type: stacking-context
          bounds: [0, 0, 100, 100]
          items:
            - type: stacking-context
              bounds: [0, 0, 100, 100]
              transform: translate(0, 0, 10)
              items:
                - type: rect
                  bounds: [0, 0, 100, 100]
                  color: red
            - type: stacking-context
              bounds: [0, 0, 100, 100]
              transform: translate(0, 0, -10)
              items:
                - type: rect
                  bounds: [0, 0, 100, 100]
                  color: green

[ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ]