<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test in-depth capture</title>
</head>
<body>
<div>
<template shadowrootmode="open">
  <style>a::after { content: attr(href); }</style>
  <blockquote><a href="./linked1.html#111"></a></blockquote>
  <div>
  <template shadowrootmode="open">
    <style>a::after { content: attr(href); }</style>
    <blockquote><a href="./linked2.html#222"></a></blockquote>
  </template>
  dummy
  </div>
</template>
dummy
</div>
</body>
<script src="../../common.js"></s