servo/tests/wpt/css-tests/compositing-1_dev/xhtml1/mix-blend-mode-video.xht

27 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Video element with mix-blend-mode.</title>
<link href="mitica@adobe.com" rel="author" title="Mihai Tica" />
<link href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode" rel="help" />
<meta content="Test checks that mix-blend-mode is applied to a video element." name="assert" />
<link href="mailto:cabanier@adobe.com" rel="reviewer" title="Rik Cabanier" />
<link href="mailto:mbudaes@adobe.com" rel="reviewer" title="Mirela Budaes" />
<link href="reference/mix-blend-mode-video-notref.xht" rel="mismatch" />
<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 style="mix-blend-mode: difference" autoplay="">
<source src="support/red_circle.mp4" type="video/mp4" />
</video>
</div>
</body></html>