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

Side by Side Diff: LayoutTests/fast/forms/textarea/textarea-autofocus-removal-while-focusing-with-style.html

Issue 11273086: Merge 131709 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/textarea/textarea-autofocus-removal-while-focusing-with-style-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <head>
2 <style> </style> 2 <style> </style>
3 </head> 3 </head>
4 <body> 4 <body>
5 <script> 5 <script>
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 var docElement = document.documentElement; 8 var docElement = document.documentElement;
9 textArea = document.createElement("textarea"); 9 textArea = document.createElement("textarea");
10 textArea.setAttribute("autofocus", ""); 10 textArea.setAttribute("autofocus", "");
11 textArea.appendChild(document.head); 11 textArea.appendChild(document.head);
12 textArea.addEventListener("DOMFocusIn", function () { docElement.innerHTML = ""; }, false); 12 textArea.addEventListener("DOMFocusIn", function () { docElement.innerHTML = ""; }, false);
13 docElement.appendChild(textArea); 13 docElement.appendChild(textArea);
14 document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", n ull).adoptNode(textArea); 14 document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", n ull).adoptNode(textArea);
15 window.setTimeout(function() { 15 window.setTimeout(function() {
16 document.body.innerHTML = "PASS unless crash."; 16 document.body.innerHTML = "PASS unless crash.";
17 testRunner.notifyDone(); 17 testRunner.notifyDone();
18 }, 0); 18 }, 0);
19 </script> 19 </script>
20 </body> 20 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/textarea/textarea-autofocus-removal-while-focusing-with-style-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698