Here's my source for it:
"Permitted content: Phrasing content or one element of Heading content"
And it does make sense! If you happen to have a structure where a heading's content content should be one click away, then of course a heading should be allowed as a summary. That's good in terms of not requiring JavaScript and having it as most semantic and most accessible as possible!