Input Range

Summary

Harness status: OK

Found 25 tests

Details

ResultTest NameMessage
Passrange type support on input element
Asserts run
Pass
assert_equals("range", "range")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:55:11)
Passrange overflow styles
Asserts run
Pass
assert_equals("visible", "visible")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:61:9)
Passmin attribute support on input element
Asserts run
Pass
assert_equals("0", "0")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:66:11)
Passmax attribute support on input element
Asserts run
Pass
assert_equals("5", "5")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:73:11)
PassIllegal value of min attribute
Asserts run
Pass
assert_equals("ab", "ab")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:80:11)
PassIllegal value of max attribute
Asserts run
Pass
assert_equals("f", "f")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:87:11)
PassConverting an illegal string to the default value
Asserts run
Pass
assert_equals("3", "3")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:94:11)
PassIllegal value of step attribute
Asserts run
Pass
assert_equals("xyz", "xyz")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:101:11)
Passthe value is set to min when a smaller value than min attribute is given
Asserts run
Pass
assert_equals("0", "0")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:108:11)
Passthe value is set to max when a larger value than max attribute is given
Asserts run
Pass
assert_equals("5", "5")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:115:11)
Passdefault value of min attribute in input type=range
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:122:11)
Passdefault value of max attribute in input type=range
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:129:11)
Passdefault value when min and max attributes are given (= min plus half the difference between min and max)
Asserts run
Pass
assert_equals("4", "4")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:136:11)
Passdefault value with step control when both min and max attributes are given
Asserts run
Pass
assert_equals("4", "4")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:143:11)
Passdefault value when both min and max attributes are given, while min > max
Asserts run
Pass
assert_equals("2", "2")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:151:11)
PassThe default step scale factor is 1, unless min attribute has non-integer value
Asserts run
Pass
assert_equals("7", "7")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:158:11)
PassStep scale factor behavior when min attribute has integer value but max attribute is non-integer
Asserts run
Pass
assert_equals("6.3", "6.3")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:165:11)
PassSolving the step mismatch
Asserts run
Pass
assert_equals("6.8", "6.8")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:172:11)
PassPerforming stepUp()
Asserts run
Pass
assert_equals("9", "9")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:182:11)
PassPerforming stepDown()
Asserts run
Pass
assert_equals("6", "6")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:192:11)
PassPerforming stepUp() beyond the value of the max attribute
Asserts run
Pass
assert_equals("12", "12")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:203:11)
PassPerforming stepDown() beyond the value of the min attribute
Asserts run
Pass
assert_equals("3", "3")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:214:11)
PassInput should be reset to the default value when value attribute has whitespace
Asserts run
Pass
assert_equals("50", "50")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:221:11)
PassMultiply value by ten raised to the exponentth power with `e`
Asserts run
Pass
assert_equals("100", "100")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:229:11)
PassMultiply value by ten raised to the exponentth power with `E`
Asserts run
Pass
assert_equals("100", "100")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/range.html:237:11)