List group headings and small/.small

Fixes #13020.

See it in action: http://jsbin.com/famop/1/.

/cc @blixt