blob: eafe5bfb2cc80f18174f4a9f4f2a08963cc95e5d [file] [log] [blame]
<!DOCTYPE html>
<title>Image set type first match rendering</title>
<link rel="author" title="Noam Rosenthal" href="mailto:noam@webkit.org">
<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 type picks first valid match">
<style>
#test {
background-image: image-set(
url("/images/green.png") 0.0001x type('image/png'),
url("/images/red.png") 0.0001x type('image/png')
);
width: 100px;
height: 100px;
}
</style>
<div id="test"></div>