Fix isFullDoc function, so it will consider itself a full doc if passed a Document object, not just the document element (ie. the html node).
Fix isFullDoc function, so it will consider itself a full doc if passed a Document object, not just the document element (ie. the html node).

lwright-sq/HTML_CodeSniffer,adelevie/HTML_CodeSniffer,telesma/HTML_CodeSniffer,daam/HTML_CodeSniffer,squizlabs/HTML_CodeSniffer,lwright-sq/HTML_CodeSniffer,lwright-sq/HTML_CodeSniffer,daam/HTML_CodeSniffer,adelevie/HTML_CodeSniffer,adelevie/HTML_CodeSniffer,telesma/HTML_CodeSniffer,squizlabs/HTML_CodeSniffer,ironikart/HTML_CodeSniffer,telesma/HTML_CodeSniffer,ironikart/HTML_CodeSniffer,daam/HTML_CodeSniffer,squizlabs/HTML_CodeSniffer,ironikart/HTML_CodeSniffer