servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/video-001.xht

43 lines
No EOL
1.9 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 Regions: flowing a video in a region</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
<link href="http://www.w3.org/TR/css3-regions/#the-flow-from-property" rel="help" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-functions" rel="help" />
<meta content="Test checks videos flowed in regions render smoothly and without artifacts." name="assert" />
<style>
.flow {
flow-into: f;
}
.region {
flow-from: f;
width: 400px;
height: 300px;
}
.region p {
background-color: red;
height: 50%;
}
</style>
</head>
<body>
<p>Test passes if you see two identical videos playing smoothly.<br />
Test fails if you see a red rectangle or if videos are out of sync.</p>
<video width="432" muted="" autoplay="" class="flow" controls="" height="240">
<source src="support/big-buck-bunny-240p.mp4" type="video/mp4" />
<source src="support/big-buck-bunny-240p.webm" type="video/webm" />
<source src="support/big-buck-bunny-240p.ogv" type="video/ogg" />
</video>
<video width="432" height="240" controls="" autoplay="">
<source src="support/big-buck-bunny-240p.mp4" type="video/mp4" />
<source src="support/big-buck-bunny-240p.webm" type="video/webm" />
<source src="support/big-buck-bunny-240p.ogv" type="video/ogg" />
</video>
<div class="region">
<p>&#xA0;</p>
</div>
</body></html>