blob: 6ddd729c9e76ae132fbdfa19e36897b31fa8b607 [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.layoutTestController)
layoutTestController.dumpAsText();
test();
</script>