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

Unified Diff: third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html

Issue 2431583004: Media Controls: don't activate buttons when tapping on hidden controls. (Closed)
Patch Set: review comments Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html b/third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html
index 239d9b5e284d47278d0ceb905e338fc029871654..637cf24f81dafbf7f1cfcd1ae472d390dc1426be 100644
--- a/third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html
+++ b/third_party/WebKit/LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html
@@ -20,15 +20,15 @@ async_test(function(t) {
assert_false(video.paused);
// And then hover the control with the mouse.
+ eventSender.mouseMoveTo(0, 0);
eventSender.mouseMoveTo(coords[0], coords[1]);
// And the controls should remain visible.
runAfterHideMediaControlsTimerFired(t.step_func_done(function() {
- var controls = mediaControlsButton(video, "panel");
- assert_equals(getComputedStyle(controls).opacity, "1");
+ assert_true(isControlsPanelVisible(video));
}), video);
});
video.src = findMediaFile("video", "content/test");
});
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698