blob: 23b1d6dc8c53c79ac7a4e3ca2a1855f90959542d [file] [log] [blame]
<!DOCTYPE html>
<head>
<style>
img {
background-image: url("data:image/svg+xml,<svg></svg>");
}
</style>
<script>
function changeStyleAndLayout() {
document.body.style.height = '100px';
var forceLayout = document.body.offsetWidth;
if (window.testRunner)
testRunner.dumpAsText();
}
</script>
</head>
<body>
PASS. WebKit didn't crash.<br/>
<img onload="changeStyleAndLayout()" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==">
</body>
</html>