<!DOCTYPE html>
<html>
<body>
<div style="height: 2000px">
  <!-- Spacer to make sure that the named anchor below requires scrolling -->
</div>
<a name="anchor1">This is an anchor point named "anchor1"</a>.
<script>
// Temporary workaround for https://bugs.webkit.org/show_bug.cgi?id=148690.
// Make sure layout is done before we scroll to the anchor.
document.body.offsetHeight;
</script>
</body>
</html>
