Skip to content

Commit db2f109

Browse files
nicalweb-flow
authored andcommitted
Bug 1888400 - Add a test. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D206099
1 parent 26d820e commit db2f109

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This test contains a radial gradient with rounded corners.
2+
# The primitive is large enough to exercise the quad nine-patch
3+
# code path.
4+
# In addition the primitive contains a large solid color portion
5+
# causing the gradient optimization to split it into two primitives.
6+
---
7+
root:
8+
items:
9+
- type: clip
10+
id: 5
11+
complex:
12+
- rect: [10, 10, 750, 500]
13+
radius: 32
14+
- type: radial-gradient
15+
bounds: 10 10 750 500
16+
center: 0 0
17+
radius: 400 350
18+
stops: [0.0, red, 1.0, blue]
19+
clip-chain: [5]
20+
21+

wrench/reftests/gradient/reftest.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fuzzy(1,7) == tiling-conic-3.yaml tiling-conic-3-ref.yaml
8282
platform(linux,mac) == linear-aligned-border-radius.yaml linear-aligned-border-radius.png
8383
# interpolation fuzz from sampling texture-baked gradient ramps
8484
platform(linux,mac) fuzzy-range(<=1,*1404) == repeat-border-radius.yaml repeat-border-radius.png
85+
fuzzy(1,6000) == radial-border-radius-large.yaml radial-border-radius-large-ref.png
8586

8687
== conic.yaml conic-ref.yaml
8788
fuzzy(1,57) == conic-simple.yaml conic-simple.png

0 commit comments

Comments
 (0)