summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-viewport/zoom/background-image.html
blob: 805dad187d7e12a375958060e6bc5f4adc1548c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!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>