LINE TABULATION NEXT LINE NO-BREAK SPACE OGHAM SPACE MARK EN QUAD EM QUAD EN SPACE EM SPACE THREE-PER-EM SPACE FOUR-PER-EM SPACE SIX-PER-EM SPACE FIGURE SPACE PUNCTUATION SPACE THIN SPACE HAIR SPACE LINE SEPARATOR PARAGRAPH SEPARATOR NARROW NO-BREAK SPACE MEDIUM MATHEMATICAL SPACE IDEOGRAPHIC SPACE MONGOLIAN VOWEL SEPARATOR ZERO WIDTH SPACE ZERO WIDTH NON-JOINER ZERO WIDTH JOINER WORD JOINER ZERO WIDTH NON-BREAKING SPACE

Summary

Harness status: OK

Found 26 tests

Details

ResultTest NameMessage
PassPassing a LINE TABULATION to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="">LINE TABULATION</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a NEXT LINE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="…">NEXT LINE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a NO-BREAK SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">NO-BREAK SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a OGHAM SPACE MARK to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">OGHAM SPACE MARK</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a EN QUAD to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">EN QUAD</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a EM QUAD to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">EM QUAD</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a EN SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">EN SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a EM SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">EM SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a THREE-PER-EM SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">THREE-PER-EM SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a FOUR-PER-EM SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">FOUR-PER-EM SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a SIX-PER-EM SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">SIX-PER-EM SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a FIGURE SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">FIGURE SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a PUNCTUATION SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">PUNCTUATION SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a THIN SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">THIN SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a HAIR SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">HAIR SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a LINE SEPARATOR to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="
">LINE SEPARATOR</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a PARAGRAPH SEPARATOR to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="
">PARAGRAPH SEPARATOR</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a NARROW NO-BREAK SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">NARROW NO-BREAK SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a MEDIUM MATHEMATICAL SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">MEDIUM MATHEMATICAL SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a IDEOGRAPHIC SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class=" ">IDEOGRAPHIC SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a MONGOLIAN VOWEL SEPARATOR to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="᠎">MONGOLIAN VOWEL SEPARATOR</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a ZERO WIDTH SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="​">ZERO WIDTH SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a ZERO WIDTH NON-JOINER to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="‌">ZERO WIDTH NON-JOINER</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a ZERO WIDTH JOINER to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="‍">ZERO WIDTH JOINER</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a WORD JOINER to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="⁠">WORD JOINER</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)
PassPassing a ZERO WIDTH NON-BREAKING SPACE to getElementsByClassName still finds the span
Asserts run
Pass
assert_equals(1, 1, "Sanity check: the class name was retrieved and is a single character")
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:45:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <span class="">ZERO WIDTH NON-BREAKING SPACE</span>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-whitespace-class-names.html:47:5)