blob: 94a134728708ec4ecf295c8a7c98c7b46115da8b [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/srcset-helper.js"></script>
<style>
#foo {
width: 100px;
height: 100px;
content: -webkit-image-set(url('resources/green-400-px-square.png') 2x, url('resources/blue-100-px-square.png') 1x);
}
</style>
<div>This test passes if the div below is a blue 100px square when the deviceScaleFactor is 1, and if it is a 100px green square when the deviceScaleFactor is 2.</div>
<div id=foo></div>