gfx/wr/wrench/reftests/clip/clip-corner-overlap-ref.yaml
author Kartikaya Gupta <kgupta@mozilla.com>
Thu, 22 Nov 2018 21:47:48 +0000
changeset 447760 89caaea53d18aaf2d4b90b98a2f989a8cdc7062b
permissions -rw-r--r--
Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel This patch copies the webrender repository contents into gfx/wr. The existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are moved, and the remaining files are added. The revision being used is the same as before. In addition, the mozilla-central top-level Cargo.toml and the gfx/webrender_bindings/Cargo.toml files are updated to reflect the new structure. Differential Revision: https://phabricator.services.mozilla.com/D12059

---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
        - type: clip
          bounds: [ 50, 50, 200, 100 ]
          complex:
            - rect: [ 50, 50, 200, 100 ]
              radius:
                top-left: [200, 100]
                top-right: [0, 0]
                bottom-left: [0, 0]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 50, 50, 200, 100 ]
              color: blue
        - type: clip
          bounds: [ 50, 150, 200, 100 ]
          complex:
            - rect: [ 50, 150, 200, 100 ]
              radius:
                top-left: [0, 0]
                top-right: [0, 0]
                bottom-left: [200, 100]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 50, 150, 200, 100 ]
              color: blue

        - type: clip
          bounds: [ 300, 50, 100, 200 ]
          complex:
            - rect: [ 300, 50, 100, 200 ]
              radius:
                top-left: [100, 200]
                top-right: [0, 0]
                bottom-left: [0, 0]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 300, 50, 100, 200 ]
              color: green
        - type: clip
          bounds: [ 400, 50, 100, 200 ]
          complex:
            - rect: [ 400, 50, 100, 200 ]
              radius:
                top-left: [0, 0]
                top-right: [100, 200]
                bottom-left: [0, 0]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 400, 50, 100, 200 ]
              color: green

        - type: clip
          bounds: [ 50, 300, 200, 100 ]
          complex:
            - rect: [ 50, 300, 200, 100 ]
              radius:
                top-left: [0, 0]
                top-right: [200, 100]
                bottom-left: [0, 0]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 50, 300, 200, 100 ]
              color: red
        - type: clip
          bounds: [ 50, 400, 200, 100 ]
          complex:
            - rect: [ 50, 400, 200, 100 ]
              radius:
                top-left: [0, 0]
                top-right: [0, 0]
                bottom-left: [0, 0]
                bottom-right: [200, 100]
          items:
            - type: rect
              bounds: [ 50, 400, 200, 100 ]
              color: red

        - type: clip
          bounds: [ 300, 300, 100, 200 ]
          complex:
            - rect: [ 300, 300, 100, 200 ]
              radius:
                top-left: [0, 0]
                top-right: [0, 0]
                bottom-left: [100, 200]
                bottom-right: [0, 0]
          items:
            - type: rect
              bounds: [ 300, 300, 100, 200 ]
              color: yellow
        - type: clip
          bounds: [ 400, 300, 100, 200 ]
          complex:
            - rect: [ 400, 300, 100, 200 ]
              radius:
                top-left: [0, 0]
                top-right: [0, 0]
                bottom-left: [0, 0]
                bottom-right: [100, 200]
          items:
            - type: rect
              bounds: [ 400, 300, 100, 200 ]
              color: yellow