| 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="../../js/resources/js-test-pre.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> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 testInput.setAttribute('x', 'x'); | 23 testInput.setAttribute('x', 'x'); |
| 24 testInput.setAttribute('type', 'submit'); | 24 testInput.setAttribute('type', 'submit'); |
| 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 <script src="../../js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |