rem: if ( !elements.length && (tag == '*' && root.all) ) { elements = root.all; } 
add: if (root) { root = Y.Dom.get(root); if (!root) { return nodes; } } else { root = document; } 
context:       getElementsBy: function(method, tag, root) {         tag = tag || '*';         root = util.Dom.get(root) || document;         var nodes = [];         var elements = root.getElementsByTagName(tag);         if ( !elements.length && (tag == '*' && root.all) ) {            elements = root.all; // IE < 6         }         for (var i = 0, len = elements.length; i < len; ++i)         {            if ( method(elements[i]) ) { nodes[nodes.length] = elements[i]; }         }         return nodes;      },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dom.js/clean/www/resources/yui/dom/dom.js