Fix #76: repeating <thead> and <tfoot> on every page with border-collapse.
Use anti-aliasing for dotted borders. It looks better that way.
Changelog for v0.19.1
Fix background-size: cover/contain for image ratio ≠ 1
Make counter names case-sensitive