| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 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 edge cases of <textarea> rows and cols attributes.')
; | 10 description('Test for edge cases of <textarea> rows and cols attributes.')
; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 shouldBe('textarea.offsetWidth', 'defaultWidth'); | 117 shouldBe('textarea.offsetWidth', 'defaultWidth'); |
| 118 shouldBe('textarea.offsetHeight', 'defaultHeight'); | 118 shouldBe('textarea.offsetHeight', 'defaultHeight'); |
| 119 | 119 |
| 120 debug('cols = x; should be default width'); | 120 debug('cols = x; should be default width'); |
| 121 parent.innerHTML = '<textarea cols="x">cols = x; should be default width</textar
ea>'; | 121 parent.innerHTML = '<textarea cols="x">cols = x; should be default width</textar
ea>'; |
| 122 textarea = parent.firstChild; | 122 textarea = parent.firstChild; |
| 123 shouldBe('textarea.cols', 'defaultCols'); | 123 shouldBe('textarea.cols', 'defaultCols'); |
| 124 shouldBe('textarea.offsetWidth', 'defaultWidth'); | 124 shouldBe('textarea.offsetWidth', 'defaultWidth'); |
| 125 shouldBe('textarea.offsetHeight', 'defaultHeight'); | 125 shouldBe('textarea.offsetHeight', 'defaultHeight'); |
| 126 </script> | 126 </script> |
| 127 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 128 </body> | 127 </body> |
| 129 </html> | 128 </html> |
| OLD | NEW |