Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Same document navigation to text fragment directives</title>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/util.js"></script>
<script src="same-document-tests.js"></script>
<style>
div {
margin: 200vh 0 200vh 0;
}
</style>
<body onload="runTests()">
<div id="text">
This is a line of text.
</div>
<div id="elementid">
This div has an id: 'elementid'.
</div>
</body>