Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webkit/data/layout_tests/chrome/media/video-volume-slider.html

Issue 269100: Layout test and results for media volume slider (Closed)
Patch Set: update message Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698