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

Unified Diff: LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html

Issue 239113003: Use the media controls play button internal state for painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html
diff --git a/LayoutTests/media/controls-mute-with-controller-expected.html b/LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html
similarity index 51%
copy from LayoutTests/media/controls-mute-with-controller-expected.html
copy to LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html
index eed18d493faafa91327a516237b5e5035d2903c7..85a48b4f243923f0b43c224abf1b324b3685bcfc 100644
--- a/LayoutTests/media/controls-mute-with-controller-expected.html
+++ b/LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html
@@ -1,11 +1,12 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
- <title>media controls mute button with MediaController</title>
- <script src="media-file.js"></script>
+ <title>drag timebar reftest</title>
+ <script src=media-controls.js></script>
+ <script src=media-file.js></script>
</head>
<body>
- <video controls muted></video>
+ <video controls></video>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
@@ -14,6 +15,12 @@
video.src = findMediaFile("video", "content/test");
video.addEventListener("loadeddata", function()
{
+ if (window.eventSender) {
+ var coords = mediaControlsButtonCoordinates(video, "timeline");
+ eventSender.mouseMoveTo(coords[0], coords[1]);
+ eventSender.mouseDown();
+ }
+
if (window.testRunner)
testRunner.notifyDone();
});
« no previous file with comments | « LayoutTests/media/controls-drag-timebar-rendering.html ('k') | Source/core/rendering/RenderMediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698