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-1.html - WPT Dashboard Interop Dashboard
<!doctype html>
<head>
<link rel="match" href="cross-shadow-boundary-1-ref.html"/>
</head>
OuterText
<div id="host"></div>
<script>
document.getElementById("host").attachShadow({mode: "open"}).innerHTML = "innerText";
getSelection().selectAllChildren(document.body);
</script>