Index: LayoutTests/media/video-controls-overlay-play-button-expected.txt |
diff --git a/LayoutTests/media/video-controls-overlay-play-button-expected.txt b/LayoutTests/media/video-controls-overlay-play-button-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..277b5dba4e1194a3cf739b2e4ccbe980eb7acb4c |
--- /dev/null |
+++ b/LayoutTests/media/video-controls-overlay-play-button-expected.txt |
@@ -0,0 +1,20 @@ |
+Test that the overlay play button respects the controls attribute |
+ |
+EXPECTED (getComputedStyle(button).display == 'flex') OK |
+EVENT(loadeddata) |
+RUN(video.play()) |
+EVENT(play) |
+EXPECTED (getComputedStyle(button).display == 'none') OK |
+RUN(video.pause()) |
+EVENT(pause) |
+EXPECTED (getComputedStyle(button).display == 'flex') OK |
+EXPECTED (getComputedStyle(button).display == 'none') OK |
+RUN(video.play()) |
+EVENT(play) |
+EXPECTED (getComputedStyle(button).display == 'none') OK |
+RUN(video.pause()) |
+EVENT(pause) |
+EXPECTED (getComputedStyle(button).display == 'none') OK |
+EXPECTED (getComputedStyle(button).display == 'flex') OK |
+END OF TEST |
+ |