Setting display: contents removes an element's own box but must not change its semantics. These tests verify that composite widget containers (listbox, menu, tablist, etc.) and their owned elements keep their computed roles and names.

Listbox

Apple
Banana
One
Two
A
B
should not be in the name
Three
Three b
Orange
Cherry
Fruit choices
Apple
Foo
Bar
Baz
Opt
Slotted

Other composite widget containers

Readme
a
b
R
C