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

Unified Diff: third_party/WebKit/LayoutTests/media/controls-cast-button.html

Issue 2301823002: Reordering media controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media-controls
Patch Set: addressed comments Created 4 years, 3 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/controls-cast-button.html
diff --git a/third_party/WebKit/LayoutTests/media/controls-cast-button.html b/third_party/WebKit/LayoutTests/media/controls-cast-button.html
index bb06816cacfcf335dbded3a307d4414cadd01ed8..5308d5ebde8e0caefee3123152cfe52a345e00a0 100644
--- a/third_party/WebKit/LayoutTests/media/controls-cast-button.html
+++ b/third_party/WebKit/LayoutTests/media/controls-cast-button.html
@@ -35,9 +35,9 @@ async_test(function(t) {
var overlayButton = overlayCastButton(video);
assert_equals(overlayButton.style.display, "none", "Overlay button should not be visible with controls");
- // And to the left of the fullscreen button
+ // And to the right of the fullscreen button
var fullscreenPosition = mediaControlsButtonCoordinates(video, "fullscreen-button");
- assert_less_than(x, fullscreenPosition[0], "button should be to left of fullscreen button");
+ assert_greater_than(x, fullscreenPosition[0], "button should be to right of fullscreen button");
// Remove cast device - cast button should go away
internals.mediaPlayerRemoteRouteAvailabilityChanged(video, false);
@@ -60,4 +60,4 @@ async_test(function(t) {
return button;
}
});
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698