Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: LayoutTests/fast/forms/textarea-rows-cols.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 &lt;textarea&gt; rows and cols attributes.') ; 10 description('Test for edge cases of &lt;textarea&gt; rows and cols attributes.') ;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698