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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-setvalue-without-renderer.html

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function print(message) { 4 function print(message) {
5 var paragraph = document.createElement("p"); 5 var paragraph = document.createElement("p");
6 paragraph.appendChild(document.createTextNode(message)); 6 paragraph.appendChild(document.createTextNode(message));
7 document.getElementById("console").appendChild(paragraph); 7 document.getElementById("console").appendChild(paragraph);
8 } 8 }
9 9
10 function test() { 10 function test() {
11 if (window.testRunner) { 11 if (window.testRunner) {
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 } 13 }
14 14
15 var e = document.createElement("textarea"); 15 var e = document.createElement("textarea");
16 e.value = "success"; 16 e.value = "success";
17 document.getElementsByTagName("body")[0].appendChild(e); 17 document.getElementsByTagName("body")[0].appendChild(e);
18 print("value of textarea element is: " + e.value); 18 print("value of textarea element is: " + e.value);
19 } 19 }
20 </script> 20 </script>
21 </head> 21 </head>
22 <body onload="test();"> 22 <body onload="test();">
23 <p>This test checks for a regression against <i><rdar://problem/4344760> Glendal e REGRESSION (Safari 416.12-417.2) gmail 'reply' does not fill in to: field or q uoted message</i>. Specifically, it checks to make sure that a textarea element created without a renderer maintains its value after it gains a renderer.</p> 23 <p>This test checks for a regression against <i><rdar://problem/4344760> Glendal e REGRESSION (Safari 416.12-417.2) gmail 'reply' does not fill in to: field or q uoted message</i>. Specifically, it checks to make sure that a textarea element created without a renderer maintains its value after it gains a renderer.</p>
24 <p>If the test passes, you will see a value of "success" below.</p> 24 <p>If the test passes, you will see a value of "success" below.</p>
25 <hr> 25 <hr>
26 <div id='console'/> 26 <div id='console'/>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698