Only use .children.tags() optimisation in IE.
authorLaurens Holst <laurens.hg@grauw.nl>
Sat Oct 17 16:23:15 2009 +0200 (2009-10-17)
changeset 106b0cfc509b105
parent 105 f9f343cfaa2d
child 107 9060a7db0d7b
Only use .children.tags() optimisation in IE.
Because opera has issue in XHTML mode, and all other non-IE browsers have issues as well.
src/selector.js
     1.1 --- a/src/selector.js	Sat Oct 17 16:14:27 2009 +0200
     1.2 +++ b/src/selector.js	Sat Oct 17 16:23:15 2009 +0200
     1.3 @@ -459,7 +459,7 @@
     1.4  		var aNodes,
     1.5  			oSimpleSelector = this.simpleSelectors[0],
     1.6  			iStart = 0;
     1.7 -		if (oNode.children && oNode.children.tags && !browser_webkit && oSimpleSelector instanceof TypeSelector) {
     1.8 +		if (browser_ie && oSimpleSelector instanceof TypeSelector) {
     1.9  			aNodes = oNode.children.tags(oSimpleSelector.arg1);
    1.10  			iStart++;
    1.11  		} else {