19 lines
458 B
HTML
19 lines
458 B
HTML
<!doctype html>
|
|
<head>
|
|
<link rel="match" href="cross-shadow-boundary-slot-5-ref.html"/>
|
|
</head>
|
|
<span id="outer">Outer</span>
|
|
<div id="host">
|
|
<template shadowrootmode="open">
|
|
<span id="inner">Inner</span>
|
|
<slot></slot>
|
|
</template>
|
|
<span id="slotted">Slotted</span>
|
|
</div>
|
|
<script>
|
|
// Selected contents are:
|
|
// ter
|
|
// Inner Slotted
|
|
window.getSelection()
|
|
.setBaseAndExtent(slotted.firstChild, 3, outer.firstChild, 2);
|
|
</script>
|