Make SVG items count as content and ignore case in tag matching (important for SVG)
Improved needNewPage test