check 0: PASS (second empty slotted text becomes text: before)
check 1: PASS (second empty slotted text becomes text: after)
check 2: PASS (empty slotted text in popover becomes text: before)
check 3: PASS (empty slotted text in popover becomes text: after)
check 4: PASS (slotted text becomes empty: before)
check 5: PASS (slotted text becomes empty: after)
check 6: PASS (slotted text becomes whitespace: before)
check 7: PASS (slotted text becomes whitespace: after)
check 8: PASS (slotted text next to shadow block becomes whitespace: before)
check 9: PASS (slotted text next to shadow block becomes whitespace: after)
check 10: PASS (slotted whitespace next to shadow block becomes text: before)
check 11: PASS (slotted whitespace next to shadow block becomes text: after)
check 12: PASS (slotted text stays text: before)
check 13: PASS (slotted text stays text: after)
