jquery/jquery — pull request #673 by adebree (2012-02-06 19:45:22+00:00)
Title: XMLDoc cloning always done using .cloneNode(), fixes #11291

When clone()'ing a XMLDoc and the element had a nodeName equal or starting with a html5 nodename it incorrectly used the shimCloneNode(). Now XMLDoc's are always cloned using the elem.cloneNode( true ) construction.

Also the regex to detect html5 nodenames was only testing the start of the nodeName, so metering was matching and therefore incorrectly using shimCloneNode().