Bug 1860492 - Remove layout/reftests/ogg-video. r=emilio
OGG can only contain the theora video codec, and theora is being removed from the Web. All of this have WebM versions in a directory alongside this (that I converted from the OGG tests a while back). Differential Revision: https://phabricator.services.mozilla.com/D204640
|
|
@ -171,8 +171,6 @@ with Files("native-theme/**"):
|
|||
BUG_COMPONENT = ("Core", "Layout")
|
||||
with Files("object/**"):
|
||||
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
||||
with Files("ogg-video/**"):
|
||||
BUG_COMPONENT = ("Core", "Audio/Video")
|
||||
with Files("outline/**"):
|
||||
BUG_COMPONENT = ("Core", "Layout")
|
||||
with Files("pagination/**"):
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<video id="v1" style="position:absolute; left:0; top:0"></video>
|
||||
<!-- hide bottom of video -->
|
||||
<div style="position:absolute; top:120px; left:0; right:0; bottom:0; background:black"></div>
|
||||
<script>
|
||||
function doTest() {
|
||||
// Set source now so that the loadeddata event can't fire before
|
||||
// this function runs.
|
||||
v1.src = "seek420.ogv";
|
||||
v1.play();
|
||||
v1.addEventListener("loadeddata", function() {
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeAttribute('class');
|
||||
}, 50);
|
||||
});
|
||||
}
|
||||
document.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<video id="v1" style="position:absolute; left:0; top:0"></video>
|
||||
<!-- hide bottom of video -->
|
||||
<div style="position:absolute; top:120px; left:0; right:0; bottom:0; background:black"></div>
|
||||
<script>
|
||||
function doTest() {
|
||||
// Set source now so that the loadeddata event can't fire before
|
||||
// this function runs.
|
||||
v1.src = "seek444.ogv";
|
||||
v1.play();
|
||||
v1.addEventListener("loadeddata", function() {
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeAttribute('class');
|
||||
}, 50);
|
||||
});
|
||||
}
|
||||
document.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<div style="width:140px; height:100px; position:relative; left:100px; top:100px; background:black;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:340px; height:100px; position:relative; top:100px;"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 598 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:140px; height:300px; position:relative; left:100px;"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 601 B |
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<div style="width:280px; height:200px; position:relative; left:200px; top:200px; background:black;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:680px; height:200px; position:relative; top:200px;"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 598 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:280px; height:600px; position:relative; left:200px;"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 601 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:280px; height:200px;"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 568 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" width="280"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 547 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" height="200"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 546 B |
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<div style="width:140px; height:100px; background:black;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 533 B |
|
Before Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,29 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1" class="reftest-wait">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body>
|
||||
<canvas id="canvas" width="200" height="200"></canvas>
|
||||
<script>
|
||||
var video = document.createElement("video");
|
||||
video.src = "black140x100.ogv";
|
||||
video.load();
|
||||
function draw() {
|
||||
var canvas = document.getElementById("canvas");
|
||||
var ctx = canvas.getContext("2d");
|
||||
try {
|
||||
ctx.drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
|
||||
} catch (e) {
|
||||
}
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
video.addEventListener("loadeddata", draw, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 964 B |
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body>
|
||||
<canvas id="canvas" width="200" height="200"></canvas>
|
||||
<script>
|
||||
function draw() {
|
||||
var video = document.getElementById("video");
|
||||
var canvas = document.getElementById("canvas");
|
||||
var ctx = canvas.getContext("2d");
|
||||
try {
|
||||
ctx.drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
|
||||
} catch (e) {
|
||||
}
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
<video id="video" src="black140x100.ogv" onloadeddata="draw()" style="opacity:0"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 939 B |
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white">
|
||||
<div style="position:absolute; left:0; top:0; width:200px; height:600px;">
|
||||
<video src="black140x100.ogv" style="width:400px; margin-left:-100px;"></video>
|
||||
</div>
|
||||
<div style="position:absolute; left:200px; top:0; background:white; width:200px; height:600px;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white">
|
||||
<div style="overflow:hidden; position:absolute; left:0; top:0; width:200px; height:600px;">
|
||||
<video src="black140x100.ogv" style="width:400px; margin-left:-100px;"></video>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="width:0"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" style="height:0"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<div style="background-color: black; width: 150px; height: 100px; position: absolute; left: 10px; top: 10px;"></div>
|
||||
|
||||
<!-- Left side vertical. -->
|
||||
<div style="position: absolute; left: 9px; top: 9px; width: 2px; height: 102px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Right side vertical. -->
|
||||
<div style="position: absolute; left: 159px; top: 9px; width: 2px; height: 102px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Top horizontal bar. -->
|
||||
<div style="position: absolute; left: 9px; top: 9px; width: 152px; height: 2px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Bottom horizontal bar. -->
|
||||
<div style="position: absolute; left: 9px; top: 109px; width: 152px; height: 2px; z-index: 2; background: red;"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<!--
|
||||
Test if video displays correctly with a 3:2 aspect ratio.
|
||||
It should display at w=150 h=100.
|
||||
On some Linux systems, the scaling to preserve the aspect ratio can sample
|
||||
the pixels outside visible region. This results in a thin grey line down
|
||||
some sides of the scaled picture. We add red bars over the edges to
|
||||
overwrite such happenings, to make the test reliable.
|
||||
-->
|
||||
<video src="black100x100-aspect3to2.ogv"
|
||||
style="position:absolute; left: 10px; top: 10px; z-index: 1;">
|
||||
</video>
|
||||
|
||||
<!-- Left side vertical. -->
|
||||
<div style="position: absolute; left: 9px; top: 9px; width: 2px; height: 102px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Right side vertical. -->
|
||||
<div style="position: absolute; left: 159px; top: 9px; width: 2px; height: 102px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Top horizontal bar. -->
|
||||
<div style="position: absolute; left: 9px; top: 9px; width: 152px; height: 2px; z-index: 2; background: red;"></div>
|
||||
|
||||
<!-- Bottom horizontal bar. -->
|
||||
<div style="position: absolute; left: 9px; top: 109px; width: 152px; height: 2px; z-index: 2; background: red;"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 224 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<object data="black140x100.ogv" style="width:340px; height:100px; position:relative; top:100px;"></object>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 601 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<object data="black140x100.ogv" style="width:140px; height:300px; position:relative; left:100px;"></object>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 604 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<object data="black140x100.ogv" style="width:680px; height:200px; position:relative; top:200px;"></object>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 601 B |
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<object data="black140x100.ogv" style="width:280px; height:600px; position:relative; left:200px;"></object>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 602 B |
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<div style="width:29px; height:29px; background:black;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject filter="url(../filters.svg#ThresholdRGB)" x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white;">
|
||||
<video src="black29x19offset.ogv"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 537 B |
|
|
@ -1,7 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<!-- Ensure video element displays at poster size when video's intrinsic size isn't available. -->
|
||||
<video preload="none" src="black140x100.ogv" poster="blue250x200.png"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<!-- Test: Create video, add poster, load. Should display poster. -->
|
||||
<script>
|
||||
function runTest() {
|
||||
var v = document.createElement('video');
|
||||
v.addEventListener('loadeddata', function(){setTimeout(function(){document.documentElement.className = '';}, 0);});
|
||||
v.id = 'v';
|
||||
v.src = "black140x100.ogv";
|
||||
v.poster = "blue250x200.png";
|
||||
v.preload = "auto";
|
||||
document.body.appendChild(v);
|
||||
}
|
||||
|
||||
</script>
|
||||
<body style="background:white;" onload="runTest();">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<!-- Test: Create video, load. Add poster frame, load again, poster should show. -->
|
||||
<script>
|
||||
function runTest() {
|
||||
var v = document.createElement('video');
|
||||
|
||||
var endTest = function() {
|
||||
setTimeout(function(){document.documentElement.className = '';}, 0);
|
||||
};
|
||||
|
||||
var addPoster = function() {
|
||||
v.removeEventListener('loadeddata', addPoster);
|
||||
v.poster = "blue140x100.png";
|
||||
v.addEventListener('loadeddata', endTest);
|
||||
v.load();
|
||||
};
|
||||
|
||||
v.addEventListener('loadeddata', addPoster);
|
||||
v.id = 'v';
|
||||
v.src = "black140x100.ogv";
|
||||
v.preload = "auto";
|
||||
document.body.appendChild(v);
|
||||
}
|
||||
|
||||
</script>
|
||||
<body style="background:white;" onload="runTest();">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<!-- Test: Create video, load, play. Add poster frame, load again, poster should show. -->
|
||||
<script>
|
||||
function runTest() {
|
||||
var v = document.createElement('video');
|
||||
|
||||
var endTest = function() {
|
||||
setTimeout(function(){document.documentElement.className = '';}, 0);
|
||||
};
|
||||
|
||||
var play =
|
||||
function() {
|
||||
v.removeEventListener('loadeddata', play);
|
||||
v.play();
|
||||
}
|
||||
|
||||
var addPoster = function() {
|
||||
v.removeEventListener('playing', addPoster);
|
||||
v.poster = "blue140x100.png";
|
||||
v.addEventListener('loadeddata', endTest);
|
||||
v.load();
|
||||
};
|
||||
|
||||
v.addEventListener('loadeddata',
|
||||
play);
|
||||
v.addEventListener('playing',
|
||||
addPoster);
|
||||
v.id = 'v';
|
||||
v.src = "black140x100.ogv";
|
||||
v.preload = "auto";
|
||||
document.body.appendChild(v);
|
||||
}
|
||||
|
||||
</script>
|
||||
<body style="background:white;" onload="runTest();">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<!-- Test that poster is resized, maintaining its aspect ratio. -->
|
||||
<video src="black140x100.ogv" poster="blue250x200.png" style="width: 288px; height: 216px;"></video>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!-- Test that poster is correctly laid out inside borders. Also test that
|
||||
poster frames smaller than video don't have the video frame drawn behind
|
||||
them etc. -->
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv"
|
||||
poster="green70x30.png"
|
||||
preload="none"
|
||||
style="border: solid blue 2px;">
|
||||
</video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<!-- Test if poster frame with invalid poster displays video frame. -->
|
||||
<video src="black140x100.ogv" poster="not-a-valid-file"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;">
|
||||
<!-- Test if poster hides after playing with autoplay. -->
|
||||
<video src="black140x100.ogv"
|
||||
poster="blue250x200.png"
|
||||
preload="auto"
|
||||
autoplay
|
||||
onplaying="setTimeout(function(){document.documentElement.className = '';},0);"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;"
|
||||
onload="setTimeout(function(){document.documentElement.className = '';}, 0);">
|
||||
<!-- Test if we show video frame after removing valid poster. -->
|
||||
<video src="black140x100.ogv"
|
||||
preload="auto"
|
||||
id="v"
|
||||
poster="blue250x200.png"></video>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('v').poster = '';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;">
|
||||
<!-- Test to ensure that changing the poster after video has painted its first
|
||||
frame doesn't render the poster. The video frame should not change to the
|
||||
poster, since it's already painted its first video frame. -->
|
||||
<video src="black140x100.ogv"
|
||||
preload="auto"
|
||||
id="v"
|
||||
autoplay
|
||||
onended="document.getElementById('v').poster = 'blue250x200.png'; setTimeout(function(){document.documentElement.className = '';},0);"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;">
|
||||
<!-- Test that poster frame should hide after completing a seek. -->
|
||||
<video src="black140x100.ogv"
|
||||
preload="auto"
|
||||
id="v"
|
||||
onloadeddata="var v = document.getElementById('v'); v.currentTime = v.duration;"
|
||||
onseeked="setTimeout(function(){document.documentElement.className = '';}, 0);"
|
||||
poster="blue250x200.png"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;"
|
||||
onload="setTimeout(function(){document.documentElement.className = '';}, 0);">
|
||||
<!-- Test that poster frame changes when you change the poster attribute. -->
|
||||
<video src="black140x100.ogv"
|
||||
preload="none"
|
||||
id="v"
|
||||
poster="blue250x200.png"></video>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('v').poster = 'red140x100.png';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body style="background:white;">
|
||||
<!-- Test if poster hides after playing with play() call. -->
|
||||
<video src="black140x100.ogv"
|
||||
poster="blue250x200.png"
|
||||
id="v"
|
||||
preload="auto"
|
||||
onloadeddata="document.getElementById('v').play();"
|
||||
onplaying="setTimeout(function(){document.documentElement.className = '';}, 0);"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<video src="black140x100.ogv" preload="auto"></video>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="blue140x100.png" alt="poster" style="position: absolute; height: 100px; width: 125px; left: 16px">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="blue140x100.png" alt="poster">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="blue250x200.png" alt="poster">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="blue250x200.png" style="position: relative; width: 270px; height: 216px; left: 9px;">
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="green70x30.png" alt="poster" style="border: solid blue 2px;">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white;">
|
||||
<img src="red140x100.png" alt="poster">
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 274 B |
|
Before Width: | Height: | Size: 720 B |
|
|
@ -1,35 +0,0 @@
|
|||
# NOTE: bug 1084564 covers "fails"/"skip" annotations for android below:
|
||||
fuzzy(0-255,0-5000) == 444-1.html 444-1-ref.html
|
||||
fails-if(Android) == aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
|
||||
fails-if(Android) == aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
|
||||
fails-if(Android) skip-if(gtkWidget) == aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
|
||||
fails-if(Android) skip-if(gtkWidget) == aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
|
||||
== aspect-ratio-3a.xhtml aspect-ratio-3-ref.xhtml
|
||||
== aspect-ratio-3b.xhtml aspect-ratio-3-ref.xhtml
|
||||
fails-if(Android) random == encoded-aspect-ratio-1.html encoded-aspect-ratio-1-ref.html
|
||||
fails-if(Android) == basic-1.xhtml basic-1-ref.html
|
||||
== canvas-1a.xhtml basic-1-ref.html
|
||||
fails-if(Android) == canvas-1b.xhtml basic-1-ref.html
|
||||
== clipping-1a.html clipping-1-ref.html
|
||||
== empty-1a.html empty-1-ref.html
|
||||
== empty-1b.html empty-1-ref.html
|
||||
#these is skipped because we hang on the htmlparser tests when this is ran
|
||||
random == object-aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
|
||||
random == object-aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
|
||||
== offset-1.xhtml offset-1-ref.html
|
||||
random == object-aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
|
||||
random == object-aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
|
||||
fuzzy-if(winWidget,0-1,0-56000) fuzzy-if(cocoaWidget,0-1,0-56000) == zoomed-1.xhtml zoomed-1-ref.html # bug 778995 for fuzzy
|
||||
== poster-1.html poster-ref-blue250x200.html
|
||||
== poster-2.html poster-ref-black140x100.html
|
||||
== poster-3.html poster-ref-black140x100.html
|
||||
== poster-4.html poster-ref-black140x100.html
|
||||
== poster-5.html poster-ref-black140x100.html
|
||||
== poster-6.html poster-ref-black140x100.html
|
||||
== poster-7.html poster-ref-red140x100.html
|
||||
== poster-8.html poster-ref-black140x100.html
|
||||
random == poster-10.html poster-ref-blue125x100.html
|
||||
random == poster-11.html poster-ref-blue140x100.html
|
||||
random == poster-12.html poster-ref-blue140x100.html
|
||||
== poster-13.html poster-ref-blue400x300.html
|
||||
== poster-15.html poster-ref-green70x30.html
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="background:white; margin:0;">
|
||||
<div style="width:280px; height:200px; background:#010101;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1" reftest-zoom="2"
|
||||
width="50%" height="50%">
|
||||
<!-- use an empty g to force filters.svg to load before onload -->
|
||||
<use xlink:href="../filters.svg#empty" />
|
||||
<foreignObject x="0" y="0" height="100%" width="100%">
|
||||
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body style="background:white; margin:0">
|
||||
<video src="black140x100.ogv"></video>
|
||||
</body>
|
||||
</html>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 547 B |
|
|
@ -273,9 +273,6 @@ include outline/reftest.list
|
|||
# object/
|
||||
include object/reftest.list
|
||||
|
||||
# ogg-video/
|
||||
skip include ogg-video/reftest.list
|
||||
|
||||
# webm-video/
|
||||
skip include webm-video/reftest.list
|
||||
|
||||
|
|
|
|||