summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/reftest-stylo.list
blob: 0d759dd84b5397bd44a5c1a5e403a8499d8e4018 (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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
== data:text/html,<body> data:text/html,<body>
skip == data:text/plain, data:text/plain,
skip == data:text/plain,HELLO data:text/plain,HELLO

# these tests make sure async reftests work:
skip-if(B2G||Mulet) == test-async.xul test-async.xul
# bug 785074
# Initial mulet triage: parity with B2G
skip-if(B2G||Mulet) == test-async.html test-async.html
# bug 785074
# Initial mulet triage: parity with B2G

# test that zoom works (and really zooms, not just scales)
== test-zoom.html test-zoom.html

# make sure we don't fall over if the root is missing
skip == no-root.html no-root.html

# Makes sure that the file: protocol handler and HTTP server both
# choose HTML vs. XHTML processing based on the file extensions.
== html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.html
HTTP == html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.html

# make sure red and green colors are not the default and are different from
# each other
== green.html green.html
== green.html green.html
== red.html red.html

# Make sure about:blank works, even via HTTP.
skip == blank.html blank.html
skip == about:blank about:blank
skip HTTP == blank.html blank.html
skip HTTP == about:blank about:blank
# same for data:
== default.html default.html
== data:text/html,<div>Text</div> data:text/html,<div>Text</div>
HTTP == default.html default.html
HTTP == data:text/html,<div>Text</div> data:text/html,<div>Text</div>
skip == blank.html blank.html
skip HTTP == blank.html blank.html

skip-if(B2G||Mulet) HTTP(..) == filter-1.xhtml filter-1.xhtml
# Initial mulet triage: parity with B2G
skip-if(B2G||Mulet) HTTP(..) == filter-2.xhtml filter-2.xhtml
# bug 773482
# Initial mulet triage: parity with B2G

# test that the MozReftestInvalidate event fires
== invalidation.html invalidation.html
== zoom-invalidation.html zoom-invalidation.html

# test parsing of asserts() expressions
skip asserts(0) load about:blank
skip asserts(0-5) load about:blank
skip asserts-if(true,0) load about:blank
skip asserts-if(false,7) load about:blank
skip asserts-if(true,0-4) load about:blank
skip asserts-if(false,6-8) load about:blank

# test that <div> is display:block
== div.html div.html

# test script keyword
include scripttests-stylo.list

# test url-prefix
include urlprefixtests-stylo.list

# test default-preferences
include default-preferences-tests-stylo.list

# test that all corners are visible
== corners-1.html corners-1.html
== corners-2.html corners-2.html
== corners-3.html corners-3.html
== corners-4.html corners-4.html

# Test that the harness gives the correct page dimensions.
== page-width-3.9in.html page-width-3.9in.html
skip-if(B2G||Mulet) == page-width-4.1in.html page-width-4.1in.html
# bug 774396
# Initial mulet triage: parity with B2G
skip-if(B2G||Mulet) == page-width-auto.html page-width-auto.html
# bug 774396
# Initial mulet triage: parity with B2G
skip-if(B2G||Mulet) == page-height-2in.html page-height-2in.html
# bug 774396
# Initial mulet triage: parity with B2G
== page-height-2in.html page-height-2in.html
== page-height-2.1in.html page-height-2.1in.html

# Check that tests that need focus are skipped when it's not available
needs-focus load needs-focus.html

# Bug 632636
skip == data:text/plain,HELLO data:text/plain,HELLO
skip needs-focus == data:text/plain, data:text/plain,

# Sanity check of viewport+displayport overrides
pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-displayport-2.html test-displayport-2.html
# bug 593168
skip-if(!browserIsRemote) fails-if(OSX&&layersGPUAccelerated) fuzzy-if(layersOMTC,1,1390) random-if(Android) random-if(B2G||Mulet) random-if(transparentScrollbars) == 647192-1.html 647192-1.html
# Initial mulet triage: parity with B2G
skip-if(!browserIsRemote||((B2G&&browserIsRemote)||Mulet)) == 656041-1.html 656041-1.html
# Initial mulet triage: parity with B2G
pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote||layersOMTC) == test-displayport-bg.html test-displayport-bg.html
# bug 694706

# IPC Position-fixed frames/layers test
# Fixed layers are temporarily disabled (bug 656167).
#pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-pos-fixed.html test-pos-fixed.html
#pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-bg-attachment-fixed.html test-bg-attachment-fixed.html
pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-pos-fixed-transform.html test-pos-fixed-transform.html

# reftest syntax: require-or
skip require-or(unrecognizedCondition,skip) script scripttest-fail.html
skip require-or(true&&unrecognizedCondition,skip) script scripttest-fail.html
skip require-or(unrecognizedCondition&&true,skip) script scripttest-fail.html
skip require-or(unrecognizedCondition,fails) script scripttest-fail.html
require-or(true,fails) script scripttest-pass.html
require-or(true&&true,fails) script scripttest-pass.html

# tests for pref(...) syntax in manifest, including "fails" examples with incorrect prefs
# a boolean pref
pref(gfx.downloadable_fonts.enabled,true) HTTP(..) == font-download.html font-download.html
pref(gfx.downloadable_fonts.enabled,false) HTTP(..) == font-download.html font-download.html
fails pref(gfx.downloadable_fonts.enabled,0) HTTP(..) == font-download.html font-download.html
fails pref(gfx.downloadable_fonts.enabled,"foo") HTTP(..) == font-download.html font-download.html
# a non-existent pref
fails pref(not.a.real.pref.name,1) == font-download.html font-download.html
# an integer pref
pref(font.size.variable.x-western,16) == font-size-16.html font-size-16.html
pref(font.size.variable.x-western,16) == font-size-24.html font-size-24.html
pref(font.size.variable.x-western,24) == font-size-24.html font-size-24.html
pref(font.size.variable.x-western,24) == font-size-16.html font-size-16.html
fails pref(font.size.variable.x-western,false) == font-size-16.html font-size-16.html
fails pref(font.size.variable.x-western,"foo") == font-size-16.html font-size-16.html
# a string pref
pref(font.default.x-western,"serif") == font-serif.html font-serif.html
pref(font.default.x-western,"serif") == font-sans-serif.html font-sans-serif.html
pref(font.default.x-western,"sans-serif") == font-sans-serif.html font-sans-serif.html
pref(font.default.x-western,"sans-serif") == font-serif.html font-serif.html
fails pref(font.default.x-western,true) == font-serif.html font-serif.html
fails pref(font.default.x-western,0) == font-serif.html font-serif.html
# tests for ref-pref, and test-pref
ref-pref(font.size.variable.x-western,16) == font-size-16.html font-size-16.html
ref-pref(font.size.variable.x-western,16) == font-size-24.html font-size-24.html
ref-pref(font.size.variable.x-western,24) == font-size-24.html font-size-24.html
ref-pref(font.size.variable.x-western,24) == font-size-16.html font-size-16.html
fails ref-pref(font.size.variable.x-western,false) == font-size-16.html font-size-16.html
fails ref-pref(font.size.variable.x-western,"foo") == font-size-16.html font-size-16.html
skip test-pref(font.size.variable.x-western,16) == font-default.html font-default.html
skip test-pref(font.size.variable.x-western,16) == font-default.html font-default.html
skip test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
skip test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
skip test-pref(font.size.variable.x-western,false) == font-default.html font-default.html
skip test-pref(font.size.variable.x-western,"foo") == font-default.html font-default.html
skip ref-pref(font.size.variable.x-western,16) test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
skip ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,16) == font-default.html font-default.html
skip ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
# reftest syntax: fuzzy(maxPixelDifference,maxNumberDifferingPixels)
fuzzy(1,250000) == fuzzy.html fuzzy.html
fuzzy(1,250000) == too-fuzzy.html too-fuzzy.html
fuzzy-if(true,1,250000) == fuzzy.html fuzzy.html
fuzzy-if(false,2,1) == fuzzy-ref.html fuzzy-ref.html
# When using 565 fuzzy.html and fuzzy-ref.html will compare as equal
fuzzy-if(false,2,1) random-if(Android) == fuzzy.html fuzzy.html

# Test that reftest-no-paint fails correctly
== reftest-no-paint.html reftest-no-paint.html

skip-if(!asyncPan||!browserIsRemote) == async-scroll-1a.html async-scroll-1a.html

# Disable low-res painting for this test as it will cause more to
# be drawn than we want.
default-preferences pref(layers.low-precision-buffer,false)
skip-if(!asyncPan||!browserIsRemote) == async-scroll-1b.html async-scroll-1b.html
default-preferences

skip-if(!asyncZoom) == async-zoom-1.html async-zoom-1.html
skip-if(!asyncZoom) == async-zoom-2.html async-zoom-2.html

# reftest-opaque-layer
== reftest-opaque-layer-pass.html reftest-opaque-layer-pass.html
== reftest-opaque-layer-pass.html reftest-opaque-layer-pass.html
skip == about:blank about:blank
fails == reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html

# If reftest-opaque-layer fails (no matter whether it fails in the test or in the reference),
# it shouldn't matter whether the test matches the reference.
fails == reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html
fails == reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html
skip == about:blank about:blank
fails == reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html
skip == about:blank about:blank

# reftest-opaque-layer and reftest-wait
fails == reftest-opaque-layer-wait-pass.html reftest-opaque-layer-wait-pass.html
fails == reftest-opaque-layer-wait-pass.html reftest-opaque-layer-wait-pass.html
== reftest-opaque-layer-wait-fail.html reftest-opaque-layer-wait-fail.html
== reftest-opaque-layer-wait-fail.html reftest-opaque-layer-wait-fail.html

# reftest-assigned-layer
== reftest-assigned-layer-pass.html reftest-assigned-layer-pass.html
fails == reftest-assigned-layer-fail-1.html reftest-assigned-layer-fail-1.html
fails == reftest-assigned-layer-fail-2.html reftest-assigned-layer-fail-2.html
fails == reftest-assigned-layer-fail-3.html reftest-assigned-layer-fail-3.html
fails == reftest-assigned-layer-fail-4.html reftest-assigned-layer-fail-4.html