Pass | defaultValue and value are the empty string by default | Asserts runPass | assert_equals("", "", "defaultValue is empty string when it has no content")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:15:3) | Pass | assert_equals("", "", "value is empty string when it has no content")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:16:3) |
|
Pass | defaultValue and value are affected by setting textContent | Asserts runPass | assert_equals("foo bar", "foo bar", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:25:3) | Pass | assert_equals("foo bar", "foo bar", "changing the textContent should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:26:3) |
|
Pass | defaultValue and value are affected by setting nodeValue on a child text node | Asserts runPass | assert_equals("foo bar", "foo bar", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:37:3) | Pass | assert_equals("foo bar", "foo bar", "changing the textContent should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:38:3) |
|
Pass | defaultValue and value are affected by setting data on a child text node | Asserts runPass | assert_equals("foo bar", "foo bar", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:49:3) | Pass | assert_equals("foo bar", "foo bar", "changing the textContent should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:50:3) |
|
Pass | defaultValue and value are affected by textContent in combination with appending a text node | Asserts runPass | assert_equals("foo bar baz", "foo bar baz", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:61:3) | Pass | assert_equals("foo bar baz", "foo bar baz", "changing the textContent should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:62:3) |
|
Pass | defaultValue and value are affected by textContent in combination with appending a DocumentFragment | Asserts runPass | assert_equals("foo bar baz fizz whee", "foo bar baz fizz whee", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:81:3) | Pass | assert_equals("foo bar baz fizz whee", "foo bar baz fizz whee", "changing the textContent should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:82:3) |
|
Pass | defaultValue and value reflect child text content, not textContent | Asserts runPass | assert_equals("foo barbaz", "foo barbaz", "the textContent should have *all* the text content")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:96:3) | Pass | assert_equals("foo bar", "foo bar", "the defaultValue should reflect the child text content")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:97:3) | Pass | assert_equals("foo bar", "foo bar", "changing the child text content should change the raw value, and subsequently the api value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:98:3) |
|
Pass | Setting defaultValue wipes out any children, including elements (just like setting textContent) | Asserts runPass | assert_equals(1, 1, "Only one child node should exist")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:114:3) | Pass | assert_equals("foo", "foo", "the defaultValue should be the new text")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:115:3) | Pass | assert_equals("foo", "foo", "the api value should be the new text")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:116:3) | Pass | assert_equals("foo", "foo", "the textContent should be the new text")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:117:3) |
|
Pass | defaultValue and value treat CRLF differently | Asserts runPass | assert_equals("foo\r\nbar\rbaz\nqux", "foo\r\nbar\rbaz\nqux", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:126:3) | Pass | assert_equals("foo\nbar\nbaz\nqux", "foo\nbar\nbaz\nqux", "The value property should normalize CRLF and CR to LF")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:127:3) |
|
Pass | value normalizes CRLF even spread over multiple text nodes | Asserts runPass | assert_equals("foo\r\nbar\rbaz\nqux", "foo\r\nbar\rbaz\nqux", "the defaultValue should reflect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:137:3) | Pass | assert_equals("foo\nbar\nbaz\nqux", "foo\nbar\nbaz\nqux", "The value property should normalize CRLF and CR to LF")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:138:3) |
|
Pass | tests for the value setter | Asserts runPass | assert_equals("foo", "foo", "setting the value property should not affect the defaultValue")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:148:3) | Pass | assert_equals("foo", "foo", "setting the value property should not affect the textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:149:3) | Pass | assert_equals("baz", "baz", "on setting, the value property must set the element's raw & api value to the new value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:150:3) | Pass | assert_equals("foo\nbar\nbaz\nqux", "foo\nbar\nbaz\nqux", "The API value should normalize CRLF and CR to LF")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:154:3) | Pass | assert_equals("", "", "setting the value property to null should result in an empty string")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:157:3) |
|
Pass | tests for U+0000 NULL | Asserts runPass | assert_equals("foo\0", "foo\0", "defaultValue after setting defaultValue")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:166:3) | Pass | assert_equals("foo\0", "foo\0", "textContent after setting defaultValue")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:167:3) | Pass | assert_equals("foo\0", "foo\0", "value after setting defaultValue")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:168:3) | Pass | assert_equals("bar\0", "bar\0", "defaultValue after setting textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:171:3) | Pass | assert_equals("bar\0", "bar\0", "textContent after setting textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:172:3) | Pass | assert_equals("bar\0", "bar\0", "value after setting textContent")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:173:3) | Pass | assert_equals("bar\0", "bar\0", "defaultValue after setting value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:176:3) | Pass | assert_equals("bar\0", "bar\0", "textContent after setting value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:177:3) | Pass | assert_equals("baz\0", "baz\0", "value after setting value")
at Test.<anonymous> ( /html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html:178:3) |
|