https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 36a847b088740128c41258a7bc6bb9d019e57b36 authored by plehegar on 24 August 2016, 20:31:56 UTC
Added Web IDL for Resource Timing
Tip revision: 36a847b
drawimage_html_image_6_ref.html
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
</head>
<style>
  html, body {
    margin: 0;
  }
  #destination {
    width: 100px;
    height: 100px;
    background-color: red;
    background-color: red;
    background-image: url("../2x2.png");
    background-position: -32px -32px;
    background-size: 64px 64px;
    background-repeat: no-repeat;
  }

</style>
<body>
<div id="destination"></div>
</body>
</html>
back to top