gecko/modules/libpr0n/test/reftest/pngsuite-transparency/wrapper.html

22 lines
457 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Image reftest wrapper</title>
<style type="text/css">
#image1 { background-color: rgb(10, 100, 250); }
</style>
</head>
<body>
<img id="image1">
<script>
// This loads a externally specified image with a background color
// set via CSS, to test transparency effects.
//
// Use as "wrapper.html?image.png"
//
var imgURL = document.location.search.substr(1);
document.images[0].src = imgURL;
</script>
</body>
</html>