Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-images/image-set/image-set-negative-resolution-rendering-3.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Image set negative resolution rendering</title>
<link rel="match" href="/css/reference/blank.html">
<meta name="assert" content="image-set rendering with negative resolution">
<style>
#test {
background-image: url("/images/red.png");
background-image: image-set(url("/images/red.png") calc(-1 * 1x));
width: 100px;
height: 100px;
}
</style>
<div id="test"></div>