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