tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cross.yaml (761B)


      1 # Crossed planes test. Similar to "simple" but has more complex transformations,
      2 # which puts higher requirements on the precision of arithmetics,
      3 # and all 4 pieces are visible on screen.
      4 ---
      5 root:
      6  items:
      7    - type: stacking-context
      8      bounds: [0, 0, 100, 200]
      9      transform-style: preserve-3d
     10      items:
     11        - type: stacking-context
     12          bounds: [0, 0, 100, 200]
     13          transform: rotate-y(45) rotate-x(45)
     14          items:
     15            - type: rect
     16              bounds: [0, 0, 100, 100]
     17              color: red
     18        - type: stacking-context
     19          bounds: [0, 0, 100, 200]
     20          transform: rotate-y(-45) rotate-x(45)
     21          items:
     22            - type: rect
     23              bounds: [0, 0, 100, 100]
     24              color: green