Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Attaching shadow should not cause crash with scrollbar pseudo rules</title>
<style>
#t1::before {
display: block;
width: 100px;
height: 100px;
overflow: scroll;
content: ".";
}
</style>
<div id="host"></div>
<div id="t1"></div>
<script>
host.attachShadow({mode: 'closed'});
</script>