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

Unified Diff: LayoutTests/media/video-webkit-appearance.html

Issue 598013002: Let toParentMediaElement return null for the media element itself (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/media/video-webkit-appearance.html
diff --git a/LayoutTests/media/video-webkit-appearance.html b/LayoutTests/media/video-webkit-appearance.html
new file mode 100644
index 0000000000000000000000000000000000000000..1633274edd072e32a00beddf153bdce2cae70a36
--- /dev/null
+++ b/LayoutTests/media/video-webkit-appearance.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<title>video with -webkit-appearance media-play-button</title>
+<script src="media-file.js"></script>
+<style>
+video {
+ -webkit-appearance: media-play-button;
+}
+</style>
+<video></video>
+<script>
+var video = document.querySelector('video');
+video.src = findMediaFile('video', 'content/test');
+
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+ video.addEventListener('loadedmetadata', function() {
+ testRunner.notifyDone();
+ });
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698