Visual presentation of Slot in shadow DOM from Chromium unit test

Demo home | List from data

Outline: shadow DOM blue , light DOM green. They should be rendered identical.

Slots: Basic. Basic, elements only.

Slots in closed; Slots in closed, elements only

Slots not in a shadow tree, ... elements only

assignedSlot, assignedNodes(), assignedNodes({ flatten: true })

assignedSlot

assignedSlot

assignedSlot

assignedSlot

assignedSlot

assignedSlot, assignedNodes({ flatten: true })

assignedSlot, assignedNodes({ flatten: true })

assignedSlot, assignedNodes({ flatten: true })

assignedSlot, assignedNodes((),assignedNodes({ flatten: true })