blob: f21395055bb67c155abf577768c1cc9e2a6fd930 [file] [log] [blame]
<style>
@font-face {
font-family: test;
src: url(data:text/plain,1);
}
</style>
<p>
This test passes if it does not cause an assertion failure or a crash.
</p>
A <img id="target" alt="A">
<script>
function test()
{
document.body.offsetTop;
document.body.style.fontFamily="test";
document.body.offsetTop;
document.getElementById("target").src = "data:text/plain,2";
}
if (window.testRunner)
testRunner.dumpAsText();
test();
</script>