summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html')
-rw-r--r--testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html b/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html
new file mode 100644
index 0000000000..298ba99080
--- /dev/null
+++ b/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-video.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Test: Video element with mix-blend-mode.</title>
+ <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
+ <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode">
+ <meta name="assert" content="Test checks that mix-blend-mode is applied to a video element.">
+ <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com">
+ <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com">
+ <link rel="mismatch" href="reference/mix-blend-mode-video-notref.html">
+ <style type="text/css">
+ div {
+ width: 480px;
+ height: 352px;
+ background: #FF0;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if you can see a green circle over a blue background.</p>
+ <div>
+ <video autoplay style="mix-blend-mode: difference">
+ <source src="support/red_circle.mp4" type="video/mp4">
+ </video>
+ </div>
+ </body>
+</html>