Light DOM

#scope (in scope)

outside #scope

#no-heading_el1

Some plain text. There is no heading in this element.

#with-heading_el2

Section title

Some text under the heading.

#scope (in scope)

outside #scope

Light DOM

Special characters

Element T (classes "w-1/2" and "md:flex")

Non-element nodes

Plain text node for TC-16

Selector uniqueness

Element P (has an id)

Item Item Element R (no id, no class; click this one) Item