Lines Matching refs:firstChild
444 st = node.firstChild.firstChild.nodeValue;
445 if (st=="(" || st=="[" || st=="{") node.removeChild(node.firstChild);
448 st = node.lastChild.firstChild.nodeValue;
548 st = (result[0].nodeName=="mi"?result[0].firstChild.nodeValue:
549 result[0].childNodes[i].firstChild.nodeValue);
603 st = result[0].lastChild.firstChild.nodeValue;
695 newFrag.childNodes[len-2].firstChild.nodeValue == ",") { //matrix
696 var right = newFrag.childNodes[len-1].lastChild.firstChild.nodeValue;
698 var left = newFrag.childNodes[len-1].firstChild.firstChild.nodeValue;
709 node.nextSibling.firstChild.nodeValue==",")&&
710 node.firstChild.firstChild.nodeValue==left &&
711 node.lastChild.firstChild.nodeValue==right;
714 if (node.childNodes[j].firstChild.nodeValue==",")
723 node = newFrag.firstChild; // <mrow>(-,-,...,-,-)</mrow>
726 node.removeChild(node.firstChild); //remove (
729 node.removeChild(node.firstChild); //remove ,
732 } else frag.appendChild(node.firstChild);
736 newFrag.removeChild(newFrag.firstChild); //remove <mrow>)</mrow>
737 newFrag.removeChild(newFrag.firstChild); //remove <mo>,</mo>
743 newFrag.replaceChild(node,newFrag.firstChild);