| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #red { | 5 #red { |
| 6 background-color: red; | 6 background-color: red; |
| 7 position: absolute; | 7 position: absolute; |
| 8 left: 50px; | 8 left: 50px; |
| 9 top: 50px; | 9 top: 50px; |
| 10 height: 100px; | 10 height: 100px; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 </head> | 28 </head> |
| 29 <body onload="runtest()" style="margin:0"> | 29 <body onload="runtest()" style="margin:0"> |
| 30 | 30 |
| 31 <script type="text/javascript"> | 31 <script type="text/javascript"> |
| 32 var redDiv; | 32 var redDiv; |
| 33 var blueDiv; | 33 var blueDiv; |
| 34 var containerDiv; | 34 var containerDiv; |
| 35 var blueText; | 35 var blueText; |
| 36 var redTextWhenHovered = "Red hovered."; | 36 var redTextWhenHovered = "Red hovered."; |
| 37 var blueTextWhenNotHovered = ""; | 37 var blueTextWhenNotHovered = ""; |
| 38 var blueTextWhenHovered = "'Hovered.'"; | 38 var blueTextWhenHovered = '"Hovered."'; |
| 39 function runtest() | 39 function runtest() |
| 40 { | 40 { |
| 41 if (!window.testRunner || !window.eventSender) | 41 if (!window.testRunner || !window.eventSender) |
| 42 return; | 42 return; |
| 43 | 43 |
| 44 if (!window.internals || !window.internals.setIsCursorVisible) { | 44 if (!window.internals || !window.internals.setIsCursorVisible) { |
| 45 debug("window.internals.setIsCursorVisible is required to run this test.
"); | 45 debug("window.internals.setIsCursorVisible is required to run this test.
"); |
| 46 return; | 46 return; |
| 47 } | 47 } |
| 48 | 48 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 </script> | 131 </script> |
| 132 | 132 |
| 133 <div id="container"> | 133 <div id="container"> |
| 134 </div> | 134 </div> |
| 135 | 135 |
| 136 <p>Test for <a href="http://crbug.com/240722">http://crbug.com/240722</a>. If th
e mouse cursor is not visible, no new hover effects should be invoked when the c
urrently hovered node is removed from the DOM. Press any key to delete the red d
iv.</p> | 136 <p>Test for <a href="http://crbug.com/240722">http://crbug.com/240722</a>. If th
e mouse cursor is not visible, no new hover effects should be invoked when the c
urrently hovered node is removed from the DOM. Press any key to delete the red d
iv.</p> |
| 137 | 137 |
| 138 <div id="console"></div> | 138 <div id="console"></div> |
| 139 </body> | 139 </body> |
| 140 </html> | 140 </html> |
| OLD | NEW |