1
0
Fork 0
firefox/testing/web-platform/tests/selection/shadow-dom/cross-shadow-boundary-select-document.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
341 B
HTML

<!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>