Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /selection/crashtests/selection-setBaseAndExtent-unassigned-nodes-backward.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
"use strict";
addEventListener("DOMContentLoaded", () => {
getSelection().setBaseAndExtent(
document.querySelector("pre"), 0,
document.querySelector("dt"), 0
);
}, {once: true});
</script>
</head>
<body>
<!-- -->
<span></span>
<dt>
</dt>
<template shadowrootmode="open">
<style>
</style>
</template>
<pre></pre>
<!-- -->
</body>
</html>