Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/DOMParser-interface
/
.
/
selection
/
shadow-dom
/
cross-shadow-boundary-select-document-ref.html
blob: 0312000bc0132b4a0861808613ab9b151048acfe [
file
] [
log
] [
blame
] [
edit
]
<!doctype html>
<html>
<div>
CONTENT
</div>
<script>
const
div
=
document
.
querySelector
(
"div"
);
getSelection
().
setBaseAndExtent
(
div
.
firstChild
,
0
,
div
.
firstChild
,
2
);
</script>
</html>