/home/clopez/webkit/webkit/layout-test-results/media/video-controls-toggling-actual.txt

1 Tests that showing / hiding video controls uses the sets the display:none property
 1FAIL: Timed out waiting for notifyDone to be called
22
3 
4 ** Playing the video **
5 RUN(video.play())
6 
7 ** Move mouse somewhere over the panel **
8 RUN(eventSender.mouseMoveTo(muteButtonCoordinates[0], muteButtonCoordinates[1]))
9 
10 ** Test that controls are shown when controls attribute is present **
11 EXPECTED (panel.style['display'] != 'none') OK
12 
13 ** Move mouse outside the video **
14 RUN(eventSender.mouseMoveTo(video.offsetLeft, video.offsetTop + 2 * video.offsetHeight))
15 
16 ** The controls should have the display property set to none
17 EXPECTED (panel.style['display'] == 'none') OK
18 
19 ** Remove controls attribute**
20 RUN(video.removeAttribute('controls'))
21 
22 ** Move mouse back over the panel **
23 RUN(eventSender.mouseMoveTo(muteButtonCoordinates[0], muteButtonCoordinates[1]))
24 
25 ** Video controls should not be shown **
26 EXPECTED (panel.style['display'] == 'none') OK
27 
28 END OF TEST
29