| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html lang="en"> | 2 <html lang="en"> |
| 3 <head> | 3 <head> |
| 4 <title>Switch between display block and none on :hover</title> | 4 <title>Switch between display block and none on :hover</title> |
| 5 <style> | 5 <style> |
| 6 .box { | 6 .box { |
| 7 width: 100px; | 7 width: 100px; |
| 8 height: 100px; | 8 height: 100px; |
| 9 } | 9 } |
| 10 #dummy { | 10 #dummy { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 border-color: darkred; | 21 border-color: darkred; |
| 22 display: none; | 22 display: none; |
| 23 } | 23 } |
| 24 #after_hoverTest { | 24 #after_hoverTest { |
| 25 background-color: blue; | 25 background-color: blue; |
| 26 color: white; | 26 color: white; |
| 27 padding: 10px; | 27 padding: 10px; |
| 28 } | 28 } |
| 29 </style> | 29 </style> |
| 30 | 30 |
| 31 » <script src="../js/resources/js-test-pre.js"></script> | 31 » <script src="../../resources/js-test.js"></script> |
| 32 </head> | 32 </head> |
| 33 | 33 |
| 34 <script type="text/javascript"> | 34 <script type="text/javascript"> |
| 35 function elementHovered() { | 35 function elementHovered() { |
| 36 if (window.testRunner) | 36 if (window.testRunner) |
| 37 document.getElementById("hoverTest").style.display = "no
ne"; | 37 document.getElementById("hoverTest").style.display = "no
ne"; |
| 38 } | 38 } |
| 39 </script> | 39 </script> |
| 40 | 40 |
| 41 <body> | 41 <body> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 if (window.testRunner) | 75 if (window.testRunner) |
| 76 testRunner.notifyDone(); | 76 testRunner.notifyDone(); |
| 77 } | 77 } |
| 78 } | 78 } |
| 79 | 79 |
| 80 beginTest(); | 80 beginTest(); |
| 81 </script> | 81 </script> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |