wpt / css / css-viewport / zoom / background-image.html

Status: FAIL | Duration: 7ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-viewport/zoom/background-image.html

<!doctype html>
<title>Zoom affects background-image intrinsic sizes</title>
<link rel="help" href="https://drafts.csswg.org/css-viewport/#zoom-property">
<link rel="match" href="background-image-ref.html">
<style>
div {
  width: 20px;
  height: 20px;
  zoom: 0.5;
  background-image: url("/images/pattern.png"); /* 20x20 */
}
</style>
<div></div>

/css/css-viewport/zoom/background-image-ref.html

<!doctype html>
<title>CSS Test Reference</title>
<style>
div {
  width: 10px;
  height: 10px;
  background-image: image-set(url("/images/pattern.png") 2x);
}
</style>
<div></div>