<html>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<img src='data:image/svg+xml,<!DOCTYPEg PUBLIC "" "/"><g xmlns="http://www.w3.org/2000/svg"><style>@media(max-color:5){*{</style>'>
PASS - SVG image with media type does not crash.
</html>
