<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>

<body id="body">
    <div>This test passes if this img tag below is empty and displays nothing. It ensures that the srcset attribute supports invalid inputs</div>
    <img id="foo" src="" srcset="1x,,  ,   x    ,2x  " onerror="testPassed('did not load invalid inputs')" onload="testFailed('Loaded
    invalid inputs')"></img>
</body>
</html>
