blob: 9eb298abbf5c9cbdff1a9aa765bed6e2ef45a3e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!doctype html>
<html>
<head>
<link rel=match href="cross-shadow-boundary-select-document-ref.html">
</head>
<div></div>
<script>
const root = document.querySelector("div").attachShadow({mode: "open"});
root.innerHTML = "CONTENT";
getSelection().setBaseAndExtent(document, 0, root.firstChild, 2);
</script>
</html>
|