Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /selection/shadow-dom/cross-shadow-boundary-2.html - WPT Dashboard Interop Dashboard
<!doctype html>
<head>
<link rel="match" href="cross-shadow-boundary-2-ref.html" />
</head>
OuterText
<div id="host"></div>
OuterText
<script>
document.getElementById("host").attachShadow({ mode: "open" }).innerHTML = "innerText";
getSelection().selectAllChildren(document.body);
</script>