Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098

This commit is contained in:
Anthony Ramine 2018-01-18 10:15:04 +01:00
parent 1f6a864ab5
commit 7e6290451f
832 changed files with 16026 additions and 2649 deletions

View file

@ -1,12 +1,15 @@
<!DOCTYPE html>
<canvas id="canvas" width="300" height="300"></canvas>
<script>
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
var img = new Image;
img.src = "resources/html5.png";
img.onload = function() {
ctx.drawImage(img, 0, 0);
};
</script>
<html>
<style>
div {
width: 300px;
height: 300px;
background-image: url("./resources/html5.png");
background-repeat: no-repeat;
background-color: green;
}
</style>
<body>
<div></div>
</body>
</html>