Summary

Harness status: OK

Found 50 tests

Details

ResultTest NameMessage
PassHTMLOptionElement.text
Asserts runNo asserts ran
Passoption.text should strip leading space characters (" ")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:16:7)
Passoption.text should strip leading space characters ("\t")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:16:7)
Passoption.text should strip leading space characters ("\n")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:16:7)
Passoption.text should strip leading space characters ("\f")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:16:7)
Passoption.text should strip leading space characters ("\r")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:16:7)
Passoption.text should strip trailing space characters (" ")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:24:7)
Passoption.text should strip trailing space characters ("\t")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:24:7)
Passoption.text should strip trailing space characters ("\n")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:24:7)
Passoption.text should strip trailing space characters ("\f")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:24:7)
Passoption.text should strip trailing space characters ("\r")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:24:7)
Passoption.text should strip leading and trailing space characters (" ")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:32:7)
Passoption.text should strip leading and trailing space characters ("\t")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:32:7)
Passoption.text should strip leading and trailing space characters ("\n")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:32:7)
Passoption.text should strip leading and trailing space characters ("\f")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:32:7)
Passoption.text should strip leading and trailing space characters ("\r")
Asserts run
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:32:7)
Passoption.text should replace single internal space characters (" ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:40:7)
Passoption.text should replace single internal space characters ("\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:40:7)
Passoption.text should replace single internal space characters ("\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:40:7)
Passoption.text should replace single internal space characters ("\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:40:7)
Passoption.text should replace single internal space characters ("\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:40:7)
Passoption.text should replace multiple internal space characters (" ", " ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters (" ", "\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters (" ", "\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters (" ", "\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters (" ", "\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\t", " ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\t", "\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\t", "\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\t", "\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\t", "\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\n", " ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\n", "\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\n", "\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\n", "\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\n", "\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\f", " ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\f", "\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\f", "\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\f", "\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\f", "\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\r", " ")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\r", "\t")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\r", "\n")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\r", "\f")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should replace multiple internal space characters ("\r", "\r")
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:49:9)
Passoption.text should leave leading NBSP alone.
Asserts run
Pass
assert_equals(" text", " text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:57:5)
Passoption.text should leave trailing NBSP alone.
Asserts run
Pass
assert_equals("text ", "text ")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:62:5)
Passoption.text should leave a single internal NBSP alone.
Asserts run
Pass
assert_equals("before after", "before after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:67:5)
Passoption.text should leave two internal NBSPs alone.
Asserts run
Pass
assert_equals("before  after", "before  after")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-text-spaces.html:72:5)