Support specs that don't use lists for ToC.

Note this *might* give some false positives.
Comment out the test for Web component-based specs
as this errors out because of the testing environment.
0.4.0