blob: 7d77601384be9ab7dd27997e02032d725afe570c [file] [log] [blame]
<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>