OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title>Test rendering of volume slider of video tag</title> |
| 4 <script> |
| 5 if (window.layoutTestController) |
| 6 layoutTestController.waitUntilDone(); |
| 7 |
| 8 function test() { |
| 9 var video = document.getElementsByTagName("video")[0]; |
| 10 |
| 11 if (window.eventSender) { |
| 12 x = video.offsetLeft + video.offsetWidth - 10; |
| 13 y = video.offsetTop + video.offsetHeight - 10; |
| 14 eventSender.mouseMoveTo(x, y); |
| 15 } |
| 16 if (window.layoutTestController) |
| 17 layoutTestController.notifyDone(); |
| 18 } |
| 19 </script> |
| 20 </head> |
| 21 <body> |
| 22 Move mouse over the volume icon, |
| 23 you will see a volume slider at full volume.<br> |
| 24 <video oncanplaythrough="test()" controls src="bear.ogv"></video> |
| 25 </body> |
| 26 </html> |
OLD | NEW |