blob: b48baf06cbc1dc193d8eac6caca477c9da9f5b98 [file] [log] [blame]
<style>
@font-face {
font-family: bad-font;
src: url(data:text/plain,);
}
</style>
<p>
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=27137">https://bugs.webkit.org/show_bug.cgi?id=27137</a>
REGRESSION (r44311): Reproducible crash due to infinite recursion into FrameLoader::gotoAnchor() -> FrameView::layout()</i>.
</p>
<p>
The test passes if it does not hang or crash.
</p>
<div id="anchor" style="font-family: bad-font">
This is the anchor.
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.write(location.href="#anchor");
</script>