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

Unified Diff: LayoutTests/fullscreen/video-webkit-transform.html

Issue 221333002: Fix an issue that webkit-transform might impact fullscreen video (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/video-webkit-transform-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/video-webkit-transform.html
diff --git a/LayoutTests/fullscreen/video-webkit-transform.html b/LayoutTests/fullscreen/video-webkit-transform.html
new file mode 100644
index 0000000000000000000000000000000000000000..24d3d2af4d48baa8b55f041f907df0e045ee71df
--- /dev/null
+++ b/LayoutTests/fullscreen/video-webkit-transform.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<p>Test that fullscreen video should not be affected by webkit-transform.</p>
+<video id="video" width="300" style="-webkit-transform:scale(0.8, 0.8) translate(-200px, -100px);" allowfullscreen></video>
+<script>
+ if (window.internals)
+ runPixelTests = true;
+</script>
+<script src="full-screen-test.js"></script>
+<script>
+ var video = document.getElementById('video');
+
+ waitForEvent(document, 'webkitfullscreenchange', function() {
acolwell GONE FROM CHROMIUM 2014/04/03 17:44:34 nit: { on the next line.
qinmin 2014/04/03 18:35:35 Done.
+ endTest();
+ });
+
+ runWithKeyDown(function() {
acolwell GONE FROM CHROMIUM 2014/04/03 17:44:34 ditto
qinmin 2014/04/03 18:35:35 Done.
+ video.webkitRequestFullScreen()
+ });
+</script>
+
« no previous file with comments | « no previous file | LayoutTests/fullscreen/video-webkit-transform-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698