Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassInput element programmatic selection support
Asserts runNo asserts ran
Passinput type month should support the select() method
Asserts run
Pass
assert_equals("month", "month", "the given input type is not supported")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:23:7)
Passinput type week should support the select() method
Asserts run
Pass
assert_equals("week", "week", "the given input type is not supported")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:23:7)
PassInput element programmatic selection support 1
Asserts runNo asserts ran
Passinput type month should not support variable-length selections
Asserts run
Pass
assert_equals("month", "month", "the given input type is not supported")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:43:7)
Pass
assert_equals(null, null, "getting input.selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:45:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionStart = 0; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:46:7)
Pass
assert_equals(null, null, "getting input.selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:47:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionEnd = 0; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:48:7)
Pass
assert_equals(null, null, "getting input.selectionDirection")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:49:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionDirection = "none"; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:50:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.setSelectionRange(0, 0); }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:51:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.setRangeText('', 0, 0); }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:52:7)
Passinput type week should not support variable-length selections
Asserts run
Pass
assert_equals("week", "week", "the given input type is not supported")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:43:7)
Pass
assert_equals(null, null, "getting input.selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:45:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionStart = 0; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:46:7)
Pass
assert_equals(null, null, "getting input.selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:47:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionEnd = 0; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:48:7)
Pass
assert_equals(null, null, "getting input.selectionDirection")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:49:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.selectionDirection = "none"; }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:50:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.setSelectionRange(0, 0); }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:51:7)
Pass
assert_throws_dom("INVALID_STATE_ERR", function "function() { input.setRangeText('', 0, 0); }")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/selection-weekmonth.html:52:7)