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

Side by Side Diff: LayoutTests/media/video-controls-overlay-play-button-expected.txt

Issue 363563007: Only show overlay play button when controls are enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@shouldShowControls
Patch Set: Extended test coverage Created 6 years, 5 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 Test that the overlay play button respects the controls attribute
2
3 EXPECTED (getComputedStyle(button).display == 'flex') OK
4 EVENT(loadeddata)
5 RUN(video.play())
6 EVENT(play)
7 EXPECTED (getComputedStyle(button).display == 'none') OK
8 RUN(video.pause())
9 EVENT(pause)
10 EXPECTED (getComputedStyle(button).display == 'flex') OK
11 EXPECTED (getComputedStyle(button).display == 'none') OK
12 RUN(video.play())
13 EVENT(play)
14 EXPECTED (getComputedStyle(button).display == 'none') OK
15 RUN(video.pause())
16 EVENT(pause)
17 EXPECTED (getComputedStyle(button).display == 'none') OK
18 EXPECTED (getComputedStyle(button).display == 'flex') OK
19 END OF TEST
20
OLDNEW
« no previous file with comments | « LayoutTests/media/video-controls-overlay-play-button.html ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698