| 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 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 Please run this test within DumpRenderTree. | 8 Please run this test within DumpRenderTree. |
| 9 <script> | 9 <script> |
| 10 function keyDown(key, modifiers) | 10 function keyDown(key, modifiers) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 continue; | 39 continue; |
| 40 var style = getComputedStyle(field); | 40 var style = getComputedStyle(field); |
| 41 shouldBe('"' + id + '"; style.backgroundColor', 'highlight'); | 41 shouldBe('"' + id + '"; style.backgroundColor', 'highlight'); |
| 42 shouldBe('"' + id + '"; style.color', 'highlighttext'); | 42 shouldBe('"' + id + '"; style.color', 'highlighttext'); |
| 43 keyDown('rightArrow'); | 43 keyDown('rightArrow'); |
| 44 } | 44 } |
| 45 debug(''); | 45 debug(''); |
| 46 testInput.parentElement.removeChild(testInput); | 46 testInput.parentElement.removeChild(testInput); |
| 47 sample.parentElement.removeChild(sample); | 47 sample.parentElement.removeChild(sample); |
| 48 </script> | 48 </script> |
| 49 <script src="../../js/resources/js-test-post.js"></script> | |
| 50 </body> | 49 </body> |
| 51 </html> | 50 </html> |
| OLD | NEW |