Index: LayoutTests/media/video-controls-focus-movement-on-hide-expected.txt |
diff --git a/LayoutTests/media/video-controls-focus-movement-on-hide-expected.txt b/LayoutTests/media/video-controls-focus-movement-on-hide-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c1ce00a3447ee79976a443a7d967b305119e56fa |
--- /dev/null |
+++ b/LayoutTests/media/video-controls-focus-movement-on-hide-expected.txt |
@@ -0,0 +1,9 @@ |
+Test that focus moves to the <body>/document when controls fade out with a button focused. |
+ |
+EXPECTED (document.activeElement == '[object HTMLBodyElement]') OK |
+EXPECTED (document.activeElement == '[object HTMLVideoElement]') OK |
+EXPECTED (getComputedStyle(controls).opacity == '0') OK |
+EXPECTED (document.activeElement == '[object HTMLBodyElement]') OK |
+ |
+END OF TEST |
+ |