Bug 1637112 - Add a wrench reftest. r=mstange.

Differential Revision: https://phabricator.services.mozilla.com/D75305
This commit is contained in:
Nicolas Silva 2020-05-14 17:51:47 +00:00
Родитель 4c56570aa9
Коммит 8b97fa6457
3 изменённых файлов: 51 добавлений и 0 удалений

Двоичные данные
gfx/wr/wrench/reftests/border/border-image-empty-slice-ref.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 16 KiB

Просмотреть файл

@ -0,0 +1,50 @@
---
root:
items:
- type: stacking-context
bounds: [0, 0, 500, 500]
items:
- type: border
bounds: [ 20, 20, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 32, 0, 32, 0 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round
- type: border
bounds: [ 240, 20, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 0, 32, 0, 32 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round
- type: border
bounds: [ 20, 240, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 32, 0, 0, 32 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round
- type: border
bounds: [ 240, 240, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 0, 32, 32, 0 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round

Просмотреть файл

@ -17,6 +17,7 @@ skip_on(android,device) fuzzy(64,24) == border-groove-simple.yaml border-groove-
skip_on(android,device) fuzzy(64,24) == border-ridge-simple.yaml border-ridge-simple-ref.yaml # Fails on Pixel2
platform(linux,mac) fuzzy(1,3) == degenerate-curve.yaml degenerate-curve.png
platform(linux,mac) == border-image.yaml border-image-ref.png
platform(linux,mac) == border-image-empty-slice.yaml border-image-empty-slice-ref.png
platform(linux,mac) == border-image-round.yaml border-image-round-ref.png
== border-image-crash.yaml border-image-crash-ref.yaml
fuzzy(1,5000) == border-image-fill.yaml border-image-fill-ref.png