| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |