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

Unified Diff: third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html

Issue 2701433003: Hide overlay play button if it can't be shown without clipping (Closed)
Patch Set: Add comments for dependent constants Created 3 years, 9 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/download-button-displays-with-preload-none.html
diff --git a/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html b/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html
index 910af211b238483f9d4af7feeeb5f3ecac1e7975..89aaad2a8e5b02f06040e9555f464961c2457077 100644
--- a/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html
+++ b/third_party/WebKit/LayoutTests/media/controls/download-button-displays-with-preload-none.html
@@ -21,11 +21,5 @@ async_test(function(t) {
throw 'Failed to find download button';
return button;
}
-
- function isVisible(button) {
- var computedStyle = getComputedStyle(button);
- return computedStyle.display !== "none" &&
- computedStyle.visibility === "visible";
- }
});
</script>

Powered by Google App Engine
This is Rietveld 408576698