Text input element

Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
PassValue returns the current value for text
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:29:11)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:30:11)
PassSetting value changes the current value for text
Asserts run
Pass
assert_equals("A", "A")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:36:9)
PassValue sanitization algorithm should strip line breaks for text
Asserts run
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:44:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:46:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:48:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:52:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:54:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:56:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:60:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:62:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:64:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:66:9)
Passfiles attribute must return null for text
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:71:11)
PassvalueAsDate attribute must return null for text
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:76:11)
PassvalueAsNumber attribute must return NaN for text
Asserts run
Pass
assert_equals(NaN, NaN)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:81:11)
Passlist attribute must return null for text
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:86:11)
PassstepDown does not apply for text
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() { el.stepDown(); }", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:92:11)
PassstepUp does not apply for text
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() { el.stepUp(); }", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:98:11)
PassValue returns the current value for search
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:29:11)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:30:11)
PassSetting value changes the current value for search
Asserts run
Pass
assert_equals("A", "A")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:36:9)
PassValue sanitization algorithm should strip line breaks for search
Asserts run
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:44:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:46:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:48:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:52:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:54:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:56:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:60:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:62:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:64:9)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:66:9)
Passfiles attribute must return null for search
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:71:11)
PassvalueAsDate attribute must return null for search
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:76:11)
PassvalueAsNumber attribute must return NaN for search
Asserts run
Pass
assert_equals(NaN, NaN)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:81:11)
Passlist attribute must return null for search
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:86:11)
PassstepDown does not apply for search
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() { el.stepDown(); }", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:92:11)
PassstepUp does not apply for search
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() { el.stepUp(); }", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/text.html:98:11)