| OLD | NEW |
| 1 <html> | |
| 2 <head> | |
| 3 <style> | 1 <style> |
| 4 /* We center the square so as to simplify the eventSender logic in parent.runTes
t(). */ | 2 /* We center the square so as to simplify the eventSender logic in parent.runTes
t(). */ |
| 5 #test-container { margin: 0px auto; width: 128px; height: 128px; } | 3 #test-container { margin: 0px auto; width: 128px; height: 128px; } |
| 6 | 4 |
| 7 #square { display: table-cell; text-align: center; vertical-align: middle; width
: inherit; height: inherit; color: black; border: 1px dashed; } | 5 #square { display: table-cell; text-align: center; vertical-align: middle; width
: inherit; height: inherit; color: black; border: 1px dashed; } |
| 8 </style> | 6 </style> |
| 9 </head> | 7 </head> |
| 10 <body> | 8 <body> |
| 11 <div id="test-container"> | 9 <div id="test-container"> |
| 12 <div id="square" onmousemove="parent.done()">Mouse over me.</div> | 10 <div id="square" onmousewheel="parent.iframeMouseWheel()">Mouse wheel over m
e.</div> |
| 13 </div> | 11 </div> |
| 14 </body> | |
| 15 </html> | |
| OLD | NEW |