blob: bb5f9fb9e6b0ba3159a896880fa59fc9711918fa [file] [log] [blame]
<html>
<head>
<script src="../js/resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
</script>
</head>
<body>
<div>This test passes if this img tag below is empty and displays nothing. It ensures that the srcset attribute supports various forms of valid data uri schemes</div>
<img src="" srcset="data:,plaintext 2x, data:;charset=us-ASCII,plaintext 3x, data:text/plain;charset=us-ASCII,plaintext 4x, data:text/plain,plaintext 5x, data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAIAAAAL5NQ9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2woaBQc4oLEFpAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAACMSURBVHja7dNBEYAgFEVRPhHMYgAzUIsmVnFvB/fsoQb+ObfBmzMvxneW1D1vzz2wFiEUQiFEKIRCKIQIhVAIhRChEAqhECIUQiEUQoRCKIRCiFAIhVAIEep3xTWTLzzu5oVCKIRCiFAIhVAIEQqhEAohQiEUQiFEKIRCKIQIhVAIhRChEAqhECLUZi3VEwcBMGr1NgAAAABJRU5ErkJggg== 6x">
</body>
</html>