mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
18 lines
616 B
HTML
18 lines
616 B
HTML
<!DOCTYPE html>
|
|
<title>Image set negative resolution rendering</title>
|
|
<link rel="author" title="Traian Captan" href="mailto:tcaptan@chromium.org">
|
|
<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 rendering with negative resolution">
|
|
<style>
|
|
#test {
|
|
background-image: url("/images/green.png");
|
|
background-image: image-set(
|
|
url("/images/red.png") -1x,
|
|
url("/images/red.png") 2x
|
|
);
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div id="test"></div>
|