summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/number/reftest.list
blob: ecf05ce155d49daa692f8884259c3a77f36bdacc (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
default-preferences pref(dom.forms.number,true)

# sanity checks:
# not valid on Android where type=number looks like type=text
skip-if(Android) != not-other-type-unthemed-1.html not-other-type-unthemed-1a-notref.html
skip-if(Android) != not-other-type-unthemed-1.html not-other-type-unthemed-1b-notref.html
# only valid on Android where type=number looks the same as type=text
skip-if(!Android) == number-same-as-text-unthemed.html number-same-as-text-unthemed-ref.html

# should look the same as type=text, except for the spin box
== number-similar-to-text-unthemed.html number-similar-to-text-unthemed-ref.html
== number-similar-to-text-unthemed-rtl.html number-similar-to-text-unthemed-rtl-ref.html
== number-similar-to-text-unthemed-vertical-lr.html number-similar-to-text-unthemed-vertical-lr-ref.html
== number-similar-to-text-unthemed-vertical-rl.html number-similar-to-text-unthemed-vertical-rl-ref.html

# dynamic type changes:
fuzzy-if(/^Windows\x20NT\x205\.1/.test(http.oscpu),64,4) fuzzy-if(cocoaWidget,63,4) fuzzy-if(skiaContent,2,5) == to-number-from-other-type-unthemed-1.html to-number-from-other-type-unthemed-1-ref.html
fuzzy-if(skiaContent,2,5) == from-number-to-other-type-unthemed-1.html from-number-to-other-type-unthemed-1-ref.html

# dynamic value changes:
fuzzy-if(skiaContent,2,13) == show-value.html show-value-ref.html

# disabled
== number-disabled.html number-disabled-ref.html

# auto width:
== number-auto-width-1.html number-auto-width-1-ref.html

# min-height/max-height tests:
skip-if(Android) == number-min-height-1.html number-min-height-1-ref.html
skip-if(Android) == number-min-height-2.html number-min-height-2-ref.html
skip-if(Android) == number-max-height-1.html number-max-height-1-ref.html
skip-if(Android) == number-max-height-2.html number-max-height-2-ref.html

# number of significant fractional digits:
== number-significant-fractional-digits.html number-significant-fractional-digits-ref.html

# focus
fuzzy-if(skiaContent,2,5) needs-focus == focus-handling.html focus-handling-ref.html

# select
== number-selected.html number-selected-ref.html

# pseudo-elements not usable from content:
== number-pseudo-elements.html number-pseudo-elements-ref.html

== number-placeholder.html number-placeholder-ref.html

# check that if the anonymous text control is reframed, we reframe the whole
# number control (the fuzzy is for the top-right and bottom-left of the border
# bevel which gets slightly different antialiasing after invalidation):
fuzzy(128,4) == number-reframe-anon-text-field.html number-reframe-anon-text-field-ref.html

== pseudo-classes.html about:blank