default-preferences pref(dom.forms.number,true)

# sanity checks:
# not valid on Android/B2G where type=number looks like type=text
skip-if(Android||B2G||Mulet) != not-other-type-unthemed-1.html not-other-type-unthemed-1a-notref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(Android||B2G||Mulet) != not-other-type-unthemed-1.html not-other-type-unthemed-1b-notref.html # Initial mulet triage: parity with B2G/B2G Desktop
# only valid on Android/B2G where type=number looks the same as type=text
skip-if(!Android&&!B2G&&!Mulet) == number-same-as-text-unthemed.html number-same-as-text-unthemed-ref.html # Initial mulet triage: parity with B2G/B2G Desktop

# 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
pref(layout.css.vertical-text.enabled,true) == number-similar-to-text-unthemed-vertical-lr.html number-similar-to-text-unthemed-vertical-lr-ref.html
pref(layout.css.vertical-text.enabled,true) == 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(B2G||Mulet||Android) == number-min-height-1.html number-min-height-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(B2G||Mulet||Android) == number-min-height-2.html number-min-height-2-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(B2G||Mulet||Android) == number-max-height-1.html number-max-height-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
skip-if(B2G||Mulet||Android) == number-max-height-2.html number-max-height-2-ref.html # Initial mulet triage: parity with B2G/B2G Desktop

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

# focus
# autofocus is disabled on B2G
# https://bugzilla.mozilla.org/show_bug.cgi?id=965763
skip-if(B2G||Mulet) fuzzy-if(skiaContent,2,5) needs-focus == focus-handling.html focus-handling-ref.html # Initial mulet triage: parity with B2G/B2G Desktop

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

# pseudo-elements not usable from content:
== number-pseudo-elements.html number-pseudo-elements-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
