A shadow element without an element
before1 before0 host-child after0 after1
A shadow element with an element
before1 before0 host-child after0 after1
A shadow element with a content element and an element
before1 before0 host-child after0 after1
A shadow element as a descendant of a content element
before1 host-child after1
A shadow element as a descendant of a shadow element
before1 before0 host-child after0 after1
A complex case
before2 before1 before0 host-child after0 after1 after2