gfx/wr/wrench/reftests/boxshadow/box-shadow-spread-radii-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

# This emulates the result of box-shadow-spread.yaml without with a spread
# amount of 0 compensated by manually inflating and offsetting the rectangle
# and border radii.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
        - type: box-shadow
          bounds: [ 0, 0, 280, 280 ]
          color: blue
          clip-mode: outset
          offset: 300 20
          blur-radius: 4
          spread-radius: 0
          border-radius:
            top-left: [0, 0]
            top-right: [140, 140]
            bottom-left: [140, 140]
            bottom-right: [0, 0]