Chromium Code Reviews| Index: LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js |
| diff --git a/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js b/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js |
| index 14e5658c7b329107543483c03d1883cf84ceb8f5..df032d7e56265df5aba9f3e536c5ea596ec515d4 100644 |
| --- a/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js |
| +++ b/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js |
| @@ -119,3 +119,10 @@ shouldBeEqualToString('output.defaultValue', 'defaultValue'); |
| shouldBeEqualToString('output.value', 'aValue'); |
| shouldBeEqualToString('output.innerText', 'aValue'); |
| shouldBeEqualToString('output.innerHTML', 'aValue'); |
| + |
| +debug('- Output defaultValue based on textContent if flag is in mode default') |
| +var output1 = document.createElement('output'); |
|
keishi
2014/03/03 02:00:12
nit: Maybe use the variable "output" to match prev
Habib Virji
2014/03/04 11:11:17
Done.
|
| +output1.textContent = 'A'; |
| +shouldBeTrue('output1.defaultValue == \'A\''); |
|
keishi
2014/03/03 02:00:12
Use shouldBeEqualToString.
keishi
2014/03/03 02:00:12
Maybe we should test output1.value too just in cas
Habib Virji
2014/03/04 11:11:17
Done.
Habib Virji
2014/03/04 11:11:17
Done.
|
| +output1.textContent = 'B' |
| +shouldBeTrue('output1.defaultValue == \'B\''); |
|
keishi
2014/03/03 02:00:12
Ditto.
Habib Virji
2014/03/04 11:11:17
Done.
|