* Support testing using an element * @param {Function} fn Passed the created div and expects a boolean result
( fn )
| 3862 | * @param {Function} fn Passed the created div and expects a boolean result |
| 3863 | */ |
| 3864 | function assert( fn ) { |
| 3865 | var div = document.createElement("div"); |
| 3866 | |
| 3867 | try { |
| 3868 | return fn( div ); |
| 3869 | } catch (e) { |
| 3870 | return false; |
| 3871 | } finally { |
| 3872 | // release memory in IE |
| 3873 | div = null; |
| 3874 | } |
| 3875 | } |
| 3876 | |
| 3877 | function Sizzle( selector, context, results, seed ) { |
| 3878 | var match, elem, m, nodeType, |