| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <script> | 9 <script> |
| 10 description('Test for .text for OPTION element'); | 10 description('Test for .text for OPTION element'); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 for (var i = 0; i < nonHTMLSpaces.length; ++i) { | 85 for (var i = 0; i < nonHTMLSpaces.length; ++i) { |
| 86 for (var j = 0; j < nonHTMLSpaces.length; ++j) { | 86 for (var j = 0; j < nonHTMLSpaces.length; ++j) { |
| 87 option.text = nonHTMLSpaces[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpac
es[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[i] + nonHTMLSpaces[j]; | 87 option.text = nonHTMLSpaces[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpac
es[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[i] + nonHTMLSpaces[j]; |
| 88 expected = nonHTMLSpaces[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[
i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[i] + nonHTMLSpaces[j]; | 88 expected = nonHTMLSpaces[i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[
i] + nonHTMLSpaces[j] + 'text' + nonHTMLSpaces[i] + nonHTMLSpaces[j]; |
| 89 shouldBe('option.text', 'expected'); | 89 shouldBe('option.text', 'expected'); |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 debug(''); | 92 debug(''); |
| 93 </script> | 93 </script> |
| 94 | 94 |
| 95 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 96 </body> | 95 </body> |
| 97 </html> | 96 </html> |
| OLD | NEW |