1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
!= text.yaml blank.yaml
!= long-text.yaml blank.yaml
!= negative-pos.yaml blank.yaml
!= shadow.yaml text.yaml
!= shadow-single.yaml blank.yaml
!= shadow-cover-1.yaml blank.yaml
!= shadow-cover-2.yaml blank.yaml
skip_on(android,device) fuzzy(1,3) == shadow.yaml shadow-ref.yaml # Fails on Pixel2
fuzzy(1,1) == shadow-huge.yaml shadow-huge-ref.yaml
!= shadow-cover-1.yaml shadow-cover-2.yaml
!= shadow-many.yaml shadow.yaml
!= shadow-complex.yaml shadow-many.yaml
!= shadow-clipped-text.yaml blank.yaml
!= non-opaque.yaml non-opaque-notref.yaml
== decorations.yaml decorations-ref.yaml
skip_on(android,device) fuzzy(1,3692) fuzzy-if(platform(swgl),3,13540) == decorations-suite.yaml decorations-suite.png # Fails on Pixel2
== 1658.yaml 1658-ref.yaml
fuzzy(2,405) fuzzy-if(platform(swgl),2,1508) == split-batch.yaml split-batch-ref.yaml
# Next 3 tests affected by bug 1548099 on Android
skip_on(android) == shadow-red.yaml shadow-red-ref.yaml
skip_on(android) fuzzy(1,999) fuzzy-if(platform(swgl),2,1324) == shadow-grey.yaml shadow-grey-ref.yaml
skip_on(android) fuzzy(1,828) fuzzy-if(platform(swgl),2,1538) == shadow-grey-transparent.yaml shadow-grey-ref.yaml
== subtle-shadow.yaml subtle-shadow-ref.yaml
fuzzy(1,64) == shadow-atomic.yaml shadow-atomic-ref.yaml
fuzzy(1,64) == shadow-clip-rect.yaml shadow-atomic-ref.yaml
fuzzy(1,1) platform(linux) == shadow-ordering.yaml shadow-ordering-ref.yaml
# Next 6 tests affected by bug 1548099 on Android
skip_on(android) != synthetic-bold.yaml synthetic-bold-not-ref.yaml
skip_on(android) fuzzy(1,1786) options(disable-subpixel) == synthetic-bold-transparent.yaml synthetic-bold-transparent-ref.yaml
skip_on(android) != synthetic-bold-transparent.yaml synthetic-bold.yaml
skip_on(android) != synthetic-italics.yaml synthetic-italics-ref.yaml
skip_on(android) != synthetic-italics-custom.yaml synthetic-italics-ref.yaml
skip_on(android) != synthetic-italics-custom.yaml synthetic-italics.yaml
options(disable-aa) == ahem.yaml ahem-ref.yaml
platform(linux) == isolated-text.yaml isolated-text.png
platform(mac) skip_on(mac,>=10.14) fuzzy(3,67) == white-opacity.yaml white-opacity.png
fuzzy(1,113) platform(linux) options(disable-subpixel) == colors.yaml colors-alpha.png
fuzzy(1,774) platform(linux) draw_calls(3) == colors.yaml colors-subpx.png
platform(linux) options(disable-subpixel) == border-radius.yaml border-radius-alpha.png
platform(linux) == border-radius.yaml border-radius-subpx.png
options(disable-aa) == transparent-no-aa.yaml transparent-no-aa-ref.yaml
!= diacritics.yaml diacritics-ref.yaml
fuzzy(1,1) platform(linux) options(disable-subpixel) == text-masking.yaml text-masking-alpha.png
fuzzy(1,44) platform(linux) == text-masking.yaml text-masking-subpx.png
fuzzy(1,30) platform(linux) options(disable-subpixel) == alpha-transform.yaml alpha-transform.png
fuzzy(1,20) platform(linux) == subpixel-rotate.yaml subpixel-rotate.png
fuzzy(1,72) platform(linux) == subpixel-scale.yaml subpixel-scale.png
fuzzy(1,26) platform(linux) == subpixel-skew.yaml subpixel-skew.png
fuzzy(1,381) platform(linux) == subpixel-translate.yaml subpixel-translate-ref.yaml
!= shadow-rotate.yaml blank.yaml
platform(linux) == embedded-bitmaps.yaml embedded-bitmaps.png
fuzzy(1,13) platform(linux) == clipped-transform.yaml clipped-transform.png
platform(mac) fuzzy(195,30) == color-bitmap-shadow.yaml color-bitmap-shadow-ref.yaml
platform(linux) == writing-modes.yaml writing-modes-ref.yaml
fuzzy(1,5) platform(linux) == blurred-shadow-local-clip-rect.yaml blurred-shadow-local-clip-rect-ref.png
fuzzy(1,1) platform(linux) == two-shadows.yaml two-shadows.png
== shadow-clip.yaml shadow-clip-ref.yaml
== shadow-fast-clip.yaml shadow-fast-clip-ref.yaml
skip_on(android,device) == shadow-partial-glyph.yaml shadow-partial-glyph-ref.yaml # Fails on Pixel2
fuzzy(2,212) platform(linux) == shadow-transforms.yaml shadow-transforms.png
fuzzy(2,370) platform(linux) == raster-space.yaml raster-space.png
skip_on(android) skip_on(mac,>=10.14) != allow-subpixel.yaml allow-subpixel-ref.yaml # Android: we don't enable sub-px aa on this platform.
skip_on(android,device) fuzzy-if(platform(swgl),1,1085) == bg-color.yaml bg-color-ref.yaml # Fails on Pixel2
!= large-glyphs.yaml blank.yaml
!= large-line-decoration.yaml blank.yaml
skip_on(android,device) == snap-text-offset.yaml snap-text-offset-ref.yaml
fuzzy(5,4435) == shadow-border.yaml shadow-solid-ref.yaml
fuzzy(5,4435) == shadow-image.yaml shadow-solid-ref.yaml
options(disable-aa) == snap-clip.yaml snap-clip-ref.yaml
platform(linux) == perspective-clip.yaml perspective-clip.png
fuzzy(1,150) options(disable-subpixel) == raster-space-snap.yaml raster-space-snap-ref.yaml
# == intermediate-transform.yaml intermediate-transform-ref.yaml # fails because of AA inavailable with an intermediate surface
fuzzy(1,15) platform(linux) force_subpixel_aa_where_possible(true) == text-fixed-slice.yaml text-fixed-slice-slow.png
fuzzy(1,15) platform(linux) force_subpixel_aa_where_possible(false) == text-fixed-slice.yaml text-fixed-slice-fast.png
# a 8544x8544 raster root vs. 2136x2136
# most pixels are off by a small amount, but a few pixels on the edge vary by a lot, pushing up the fuzzy max-diff;
# the main goal of the test is that everything is in the same place, at the same scale, clipped the same way,
# despite 4x on-the-fly scale change.
skip_on(android) fuzzy(120,20800) == raster_root_C_8192.yaml raster_root_C_ref.yaml
== subpx-bg-mask.yaml subpx-bg-mask-ref.yaml
platform(linux,mac) == rotate-snap-clip.yaml rotate-snap-clip-ref.yaml
platform(linux,mac) == rotate-snap-filter.yaml rotate-snap-filter-ref.yaml
fuzzy-if(env(android,device),47,6860) fuzzy-if(not(env(android,device)),4,6600) == mix-blend-layers.yaml mix-blend-layers-ref.yaml # Android device is Samsung Galaxy A51
|