<html>
<body style='margin: 0px'>
<div style='background: red; background-repeat: repeat; -webkit-background-size: 50%; background-image: url(resources/green_rectangle.pdf); height: 100px; width: 100px'>
  &nbsp;
</div>
</body>
</html>