Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync changes from mozilla-central gfx/wr #3841

Merged
merged 7 commits into from Jan 23, 2020
Prev

Bug 1606771 - Add a reftest. r=kvark

  • Loading branch information
nical authored and moz-gfx committed Jan 23, 2020
commit ec3e2d462111d3c693134e6489e9261384b07a8f
Binary file not shown.
@@ -0,0 +1,42 @@
---
root:
items:
- type: stacking-context
bounds: [0, 0, 500, 500]
items:
# The pattern fits exactly a whole number of times in the border.
- type: border
bounds: [ 50, 50, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 32 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round
# The pattern has to be stretched to fit.
- type: border
bounds: [ 300, 50, 200, 200 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 32 ]
outset: 0
repeat-vertical: round
repeat-horizontal: round
# The pattern has to be shrunk to fit.
- type: border
bounds: [ 550, 50, 180, 180 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 96
image-height: 96
slice: [ 32 ]
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-round.yaml border-image-round-ref.png
== border-image-crash.yaml border-image-crash-ref.yaml
== border-image-fill.yaml border-image-fill-ref.png
== border-no-bogus-line.yaml border-no-bogus-line-ref.png
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.