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