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

Unified Diff: android_webview/test/shell/assets/full_screen_video_inside_div_test.html

Issue 639923003: [aw] Fullscreen tests for non-media elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreenNonMediaForReview
Patch Set: Add copyright notice to full_screen_video.js Created 6 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: android_webview/test/shell/assets/full_screen_video_inside_div_test.html
diff --git a/android_webview/test/shell/assets/full_screen_video_inside_div_test.html b/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd28e7aea9576efd2797c92c1ccb05a0d7170c21
--- /dev/null
+++ b/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<script src="full_screen_video.js"></script>
+</head>
+<body>
+</script></head><body>
+<button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('div'); return false">Big enough you can't miss it</button>
+<p></p>
+<div id='div'>
+ <!-- The video id must be kept in sync with VideoTestWebServer.VIDEO_ID -->
+ <video style = 'width: 1px; height: 1px;' id='video'>
+ <source id="webm" src="VIDEO_FILE_URL" type="video/webm">
+ </video>
+ <button style = 'width: 100%; height: 100%;' onclick="playVideo(); return false">Play</button>
+</div>
+</body>
+</html>
« no previous file with comments | « android_webview/test/shell/assets/full_screen_video.js ('k') | android_webview/test/shell/assets/full_screen_video_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698