summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/reftest.list
blob: ad317946411e3e21cb6cafab7e5097390c030c18 (plain)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
== background-image-zoom-1.html background-image-zoom-1-ref.html
fails-if(usesRepeatResampling) == background-image-zoom-2.html about:blank
== image-seam-1a.html image-seam-1-ref.html
== image-seam-1b.html image-seam-1-ref.html
== image-seam-2.html  image-seam-2-ref.html  # Bug 1128229
== image-zoom-1.html image-zoom-1-ref.html
== image-zoom-2.html image-zoom-1-ref.html
== invalid-url-image-1.html invalid-url-image-1-ref.html
random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1a.html sync-image-switch-1-ref.html # bug 855050 for WinXP
random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1b.html sync-image-switch-1-ref.html # bug 855050 for WinXP
random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1c.html sync-image-switch-1-ref.html # bug 855050 for WinXP
random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1d.html sync-image-switch-1-ref.html # bug 855050 for WinXP

# Tests for "object-fit" & "object-position"
test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-dyn-1.html image-object-fit-dyn-1-ref.html
test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-with-background-1.html image-object-fit-with-background-1-ref.html
test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-with-background-2.html image-object-fit-with-background-2-ref.html
test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-position-dyn-1.html image-object-position-dyn-1-ref.html
test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-position-with-background-1.html image-object-position-with-background-1-ref.html
test-pref(layout.css.object-fit-and-position.enabled,true) fuzzy-if(winWidget,117,374) == image-object-position-with-background-2.html image-object-position-with-background-2-ref.html  # Bug 1128229

# Tests for image-orientation used with 'from-image' (note that all
# image-orientation tests are fuzzy because the JPEG images do not perfectly
# reproduce blocks of solid color, even at maximum quality):
fuzzy(2,5) == image-orientation-from-image.html?none     image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-from-image.html?0        image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-from-image.html?90       image-orientation-ref.html?90
fuzzy(1,1) == image-orientation-from-image.html?180      image-orientation-ref.html?180
fuzzy(1,1) == image-orientation-from-image.html?270      image-orientation-ref.html?270
fuzzy(1,1) == image-orientation-from-image.html?0&flip   image-orientation-ref.html?0&flip
fuzzy(1,1) == image-orientation-from-image.html?90&flip  image-orientation-ref.html?90&flip
fuzzy(1,1) == image-orientation-from-image.html?180&flip image-orientation-ref.html?180&flip
fuzzy(1,1) == image-orientation-from-image.html?270&flip image-orientation-ref.html?270&flip

# Tests for image-orientation used with an explicit orientation:
fuzzy(1,1) == image-orientation-explicit.html?0        image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-explicit.html?90       image-orientation-ref.html?90
fuzzy(1,1) == image-orientation-explicit.html?180      image-orientation-ref.html?180
fuzzy(1,1) == image-orientation-explicit.html?270      image-orientation-ref.html?270
fuzzy(1,1) == image-orientation-explicit.html?0&flip   image-orientation-ref.html?0&flip
fuzzy(1,1) == image-orientation-explicit.html?90&flip  image-orientation-ref.html?90&flip
fuzzy(1,1) == image-orientation-explicit.html?180&flip image-orientation-ref.html?180&flip
fuzzy(1,1) == image-orientation-explicit.html?270&flip image-orientation-ref.html?270&flip

# Tests for image-orientation used with non-axis-aligned angles:
fuzzy(1,1) == image-orientation-explicit.html?-45      image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-explicit.html?-15      image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-explicit.html?15       image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-explicit.html?45       image-orientation-ref.html?90
fuzzy(1,1) == image-orientation-explicit.html?75       image-orientation-ref.html?90
fuzzy(1,1) == image-orientation-explicit.html?105      image-orientation-ref.html?90
fuzzy(1,1) == image-orientation-explicit.html?135      image-orientation-ref.html?180
fuzzy(1,1) == image-orientation-explicit.html?165      image-orientation-ref.html?180
fuzzy(1,1) == image-orientation-explicit.html?195      image-orientation-ref.html?180
fuzzy(1,1) == image-orientation-explicit.html?225      image-orientation-ref.html?270
fuzzy(1,1) == image-orientation-explicit.html?255      image-orientation-ref.html?270
fuzzy(1,1) == image-orientation-explicit.html?285      image-orientation-ref.html?270
fuzzy(1,1) == image-orientation-explicit.html?315      image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-explicit.html?345      image-orientation-ref.html?0

# Tests for image-orientation used on generated content:
fuzzy(1,1) == image-orientation-generated-content.html?from-image image-orientation-generated-content-ref.html?270&flip
fuzzy(1,1) == image-orientation-generated-content.html?0          image-orientation-generated-content-ref.html?0
fuzzy(1,1) == image-orientation-generated-content.html?90         image-orientation-generated-content-ref.html?90
fuzzy(1,1) == image-orientation-generated-content.html?180        image-orientation-generated-content-ref.html?180
fuzzy(1,1) == image-orientation-generated-content.html?270        image-orientation-generated-content-ref.html?270
fuzzy(1,1) == image-orientation-generated-content.html?0&flip     image-orientation-generated-content-ref.html?0&flip
fuzzy(1,1) == image-orientation-generated-content.html?90&flip    image-orientation-generated-content-ref.html?90&flip
fuzzy(1,1) == image-orientation-generated-content.html?180&flip   image-orientation-generated-content-ref.html?180&flip
fuzzy(1,1) == image-orientation-generated-content.html?270&flip   image-orientation-generated-content-ref.html?270&flip

# Tests that image-orientation does not apply to decorative images:
fuzzy(1,1) == image-orientation-background.html?from-image   image-orientation-ref.html?0
fuzzy(1,1) == image-orientation-background.html?90&flip      image-orientation-ref.html?0
== image-orientation-border-image.html?from-image            image-orientation-border-image.html?0
== image-orientation-border-image.html?90&flip               image-orientation-border-image.html?0
== image-orientation-list-style-image.html?from-image        image-orientation-list-style-image.html?0
== image-orientation-list-style-image.html?90&flip           image-orientation-list-style-image.html?0

# Sanity checks for the image-orientation tests. Ensures that the various
# combinations of rotations and flips actually look different from each other.
!= image-orientation-ref.html?0    image-orientation-ref.html?90
!= image-orientation-ref.html?0    image-orientation-ref.html?180
!= image-orientation-ref.html?0    image-orientation-ref.html?270
!= image-orientation-ref.html?90   image-orientation-ref.html?180
!= image-orientation-ref.html?90   image-orientation-ref.html?270
!= image-orientation-ref.html?180  image-orientation-ref.html?270
!= image-orientation-ref.html?0    image-orientation-ref.html?0&flip
!= image-orientation-ref.html?90   image-orientation-ref.html?90&flip
!= image-orientation-ref.html?180  image-orientation-ref.html?180&flip
!= image-orientation-ref.html?270  image-orientation-ref.html?270&flip
!= image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?90
!= image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?180
!= image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?270
!= image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?180
!= image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?270
!= image-orientation-generated-content-ref.html?180  image-orientation-generated-content-ref.html?270
!= image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?0&flip
!= image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?90&flip
!= image-orientation-generated-content-ref.html?180  image-orientation-generated-content-ref.html?180&flip
!= image-orientation-generated-content-ref.html?270  image-orientation-generated-content-ref.html?270&flip
== image-orientation-dynamic.html image-orientation-dynamic-ref.html

# <img srcset> tests
== image-srcset-basic-selection-0.1x.html image-srcset-basic-selection-0.1x-ref.html
== image-srcset-basic-selection-2x.html image-srcset-basic-selection-2x-ref.html
== image-srcset-basic-selection-0.5x.html image-srcset-basic-selection-0.5x-ref.html
== image-srcset-basic-selection-0.6x.html image-srcset-basic-selection-0.6x-ref.html
== image-srcset-basic-selection-1.5x.html image-srcset-basic-selection-1.5x-ref.html
== image-srcset-basic-selection-1x.html image-srcset-basic-selection-1x-ref.html
== image-srcset-basic-selection-width-0.5x.html image-srcset-basic-selection-width-0.5x-ref.html
== image-srcset-basic-selection-width-10x.html image-srcset-basic-selection-width-10x-ref.html
== image-srcset-basic-selection-width-2x.html image-srcset-basic-selection-width-2x-ref.html
== image-srcset-basic-selection-width-1x.html image-srcset-basic-selection-width-1x-ref.html
== image-srcset-default-2x.html image-srcset-default-2x-ref.html
== image-srcset-default-1x.html image-srcset-default-1x-ref.html
== image-srcset-default-src-2x.html image-srcset-default-src-2x-ref.html
== image-srcset-default-src-1x.html image-srcset-default-src-1x-ref.html
== image-srcset-orientation-2x.html image-srcset-orientation-2x-ref.html
== image-srcset-orientation-1x.html image-srcset-orientation-1x-ref.html
== image-srcset-svg-3x.html image-srcset-svg-3x-ref.html
== image-srcset-svg-2x.html image-srcset-svg-2x-ref.html
== image-srcset-svg-1x.html image-srcset-svg-1x-ref.html
== image-srcset-svg-default-2x.html image-srcset-svg-default-2x-ref.html
== image-srcset-svg-default-1x.html image-srcset-svg-default-1x-ref.html

== image-resize-percent-height.html image-resize-ref.html
== image-resize-percent-width.html image-resize-ref.html

== unknown-protocol.html unknown-protocol-ref.html