Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-contain/content-visibility/slot-content-visibility-10-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
>
<div>
<template shadowrootmode=open>
<slot style="content-visibility: hidden; display: block"></slot>
</template>
a
<script type="text/javascript">
const range = new Range();
range.setStartBefore(document.body.firstChild);
range.setEndAfter(document.body.lastChild);
range.getBoundingClientRect();
</script>