function shouldIgnoreNode (node) {
  return node.nodeType === 3 // text
    || node.nodeType === 8   // comment
    || node.nodeType === 4;  // cdata
}
We ignore raw text (usually whitespace), <!-- xml comments -->,
and raw CDATA nodes.

@param {Element} node
@returns {Boolean}
@api private