---
root:
  items:
    - type: stacking-context
      bounds: 0 0 1024 768
      items:
        - type: stacking-context
          bounds: 0 0 1024 768
          transform-style: preserve-3d
          transform: rotate-x(180)
          items:
            - type: stacking-context
              bounds: 0 0 1024 768
              items:
                - type: rect
                  bounds: 0 0 200 200
                  color: green
            - type: stacking-context
              bounds: 0 0 1024 768
              items:
                - type: rect
                  bounds: 0 0 200 200
                  color: green
                - type: stacking-context
                  bounds: 0 0 1024 768
                  transform-style: preserve-3d
                  transform: rotate-x(180)
                  items:
                    - type: rect
                      bounds: 0 0 200 200
                      color: green
                    - type: stacking-context
                      bounds: 0 0 1024 768
                      items:
                        - type: rect
                          bounds: 0 0 200 200
                          color: green
