blob: 7c61abbb8315871f6dc444916b0f035dd713667c [file] [log] [blame]
<!DOCTYPE HTML>
Test for crbug.com/382296: CSS imports should not load in an SVG image context.<br><br>
This test passes if there is a green square below:<br>
<img id="image" src="resources/image-with-css-import.svg" width="100" height="100">
<script>
if (window.testRunner)
testRunner.waitUntilDone();
document.getElementById('image').onload = function() {
// FIXME: crbug.com/382170 SVG onload event bug.
setTimeout(function() {
if (window.testRunner)
testRunner.notifyDone();
}, 30);
}
</script>