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

Unified Diff: LayoutTests/platform/chromium/media/video-scales-in-media-document.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/platform/chromium/media/video-scales-in-media-document.html
diff --git a/LayoutTests/platform/chromium/media/video-scales-in-media-document.html b/LayoutTests/platform/chromium/media/video-scales-in-media-document.html
deleted file mode 100644
index 0911e364934a889490f025c8be17dceec0cbdad7..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/media/video-scales-in-media-document.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
- <head>
- <script src="../../../media/media-file.js"></script>
- <script src="../../../media/video-test.js"></script>
- <script>
- function canPlayThrough(event) {
- var video = event.target;
- testExpected(video.offsetWidth, 200);
- testExpected(video.offsetHeight, 164);
- endTest();
- }
-
- function iframeLoad() {
- var iframe = document.querySelector("iframe");
- var video = iframe.contentDocument.querySelector("video");
- video.addEventListener("canplaythrough", canPlayThrough);
- video.load()
- }
-
- function load() {
- var iframe = document.querySelector("iframe");
- iframe.onload = iframeLoad;
- iframe.src = findMediaFile("video", "../../../media/content/counting");
- }
- </script>
- </head>
-
- <body onload="load()">
- <p>Test that video media documents scale to fit undersized containers.</p>
- <iframe style="width: 200px; height: 200px;"></iframe>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698