summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/image-set/image-set-zero-resolution-rendering-2.html
blob: ae1c765049a9624e8073678712f74d9004086a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#image-set-notation">
<link rel="match" href="/css/reference/blank.html">
<meta name="assert" content="image-set rendering with zero resolution">
<style>
#test {
    background-image: url("/images/red.png");
    background-image: image-set(url("/images/red.png") calc(0dppx * -1));
    width: 100px;
    height: 100px;
}
</style>
<div id="test"></div>