* Support testing using an element * @param {Function} fn Passed the created div and expects a boolean result
( fn )
| 3876 | * @param {Function} fn Passed the created div and expects a boolean result |
| 3877 | */ |
| 3878 | function assert( fn ) { |
| 3879 | var div = document.createElement("div"); |
| 3880 | |
| 3881 | try { |
| 3882 | return fn( div ); |
| 3883 | } catch (e) { |
| 3884 | return false; |
| 3885 | } finally { |
| 3886 | // release memory in IE |
| 3887 | div = null; |
| 3888 | } |
| 3889 | } |
| 3890 | |
| 3891 | function Sizzle( selector, context, results, seed ) { |
| 3892 | var match, elem, m, nodeType, |