mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
43
tests/wpt/css-tests/css-transforms-1_dev/html/video-001.htm
Normal file
43
tests/wpt/css-tests/css-transforms-1_dev/html/video-001.htm
Normal file
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html><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> </p>
|
||||
</div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue