Lines Matching refs:node
288 function isRawContent(node) { argument
289 return 'XMP' === node.tagName;
296 function isPreformatted(node, content) { argument
299 if ('PRE' === node.tagName) { return true; }
303 if (node.currentStyle) {
304 whitespace = node.currentStyle.whiteSpace;
308 whitespace = window.getComputedStyle(node, null).whiteSpace;
313 function normalizedHtml(node, out, opt_sortAttrs) { argument
314 switch (node.nodeType) {
316 var name = node.tagName.toLowerCase();
319 var attrs = node.attributes;
338 for (var child = node.firstChild; child; child = child.nextSibling) {
341 if (node.firstChild || !/^(?:br|link|img)$/.test(name)) {
346 out.push(textToHtml(node.nodeValue));
581 function getInnerHtml(node) { argument
593 var content = node.innerHTML;
595 if (isRawContent(node)) {
597 } else if (!isPreformatted(node, content)) {
605 for (var child = node.firstChild; child; child = child.nextSibling) {