blob: b7c02fce25d45b9b0be8f673bc144a8b4a698450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<title>Image set calc x rendering</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#image-set-notation">
<link rel="match" href="reference/image-set-rendering-ref.html">
<meta name="assert" content="image-set calc x rendering">
<style>
#test {
background-image: image-set(
url("/images/green.png") calc(0.5x * 2),
url("/images/red.png") 2x
);
width: 100px;
height: 100px;
}
</style>
<div id="test"></div>
|