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

Side by Side Diff: LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-after-adoptnode.html

Issue 58533003: Move fast/js/resources files to resources. (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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="container"> 7 <div id="container">
8 <input autofocus id="test" type="time" value="12:34"> 8 <input autofocus id="test" type="time" value="12:34">
9 </div> 9 </div>
10 <script> 10 <script>
11 description('Check adoptNode dispatchs blur event for multiple fields time input UI'); 11 description('Check adoptNode dispatchs blur event for multiple fields time input UI');
12 12
13 // Trigger a recalc style so that autofocus takes effect. 13 // Trigger a recalc style so that autofocus takes effect.
14 document.body.offsetTop; 14 document.body.offsetTop;
(...skipping 10 matching lines...) Expand all
25 container.appendChild(testInput); 25 container.appendChild(testInput);
26 logs.push('start-focus'); 26 logs.push('start-focus');
27 testInput.focus(); 27 testInput.focus();
28 logs.push('end-focus'); 28 logs.push('end-focus');
29 shouldBeEqualToString('logs.toString()', 'start-adoptNode,blur,end-adoptNode,sta rt-focus,end-focus'); 29 shouldBeEqualToString('logs.toString()', 'start-adoptNode,blur,end-adoptNode,sta rt-focus,end-focus');
30 debug(''); 30 debug('');
31 document.body.removeChild(container); 31 document.body.removeChild(container);
32 </script> 32 </script>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698