<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Images Module Level 4: image-resolution from images applies to background images</title>
<link rel="author" title="Mike Bremford" href="http://bfo.com/">
<link rel="help" href="https://drafts.csswg.org/css-images-4/#propdef-image-resolution">
<link rel="match" href="../reference/100x100-blue.html">
<style>
div {
    width: 100px;
    height: 100px;
    image-resolution: from-image;
    background: url("support/swatch-blue-48dpi.png") top left no-repeat;
}
</style>
</head>
<body>
  <div></div>
</body>
</html>
