2 <svg style=
"position: absolute; width: 0; height: 0">
4 <pattern id=
"rect" width=
"100" height=
"100">
5 <rect fill=
"red" width=
"100" height=
"100" />
11 // Should peek the pattern from the shadow root (green), not from the document (red).
12 host
.attachShadow({ mode
: "open" }).innerHTML
= `
13 <svg width="100" height="100">
15 <pattern id="rect" width="100" height="100">
16 <rect fill="lime" width="100" height="100" />
19 <rect fill="url(#rect)" width="100" height="100" />