normalizeForCompare
Produces a deterministic normalization of a DOM subtree.
Parameters
node | Root node. |
includeComments | If true, include comment nodes. |
Returns
Normalized string form suitable for comparisons.
Produces a deterministic normalization of a DOM subtree.
node | Root node. |
includeComments | If true, include comment nodes. |