jQuery.support = (function (support){ var input = _AN_Call_createelement('createElement', document, "input"), fragment = document.createDocumentFragment(), div = _AN_Call_createelement("createElement", document, "div"), select = _AN_Call_createelement("createElement", document, "select"), opt = _AN_Call_appendchild("appendChild", select, _AN_Call_createelement("createElement", document, "option")); if (!input.type) { return support; } input.type = "checkbox"; support.checkOn = input.value !== ""; support.optSelected = opt.selected; support.reliableMarginRight = true ; support.boxSizingReliable = true ; support.pixelPosition = false ; input.checked = true ; support.noCloneChecked = input.cloneNode(true ).checked; select.disabled = true ; support.optDisabled = !opt.disabled; input = _AN_Call_createelement("createElement", document, "input"); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; _AN_Call_setattribute("setAttribute", input, "checked", "t"); _AN_Call_setattribute("setAttribute", input, "name", "t"); _AN_Call_appendchild("appendChild", fragment, input); support.checkClone = fragment.cloneNode(true ).cloneNode(true ).lastChild.checked; support.focusinBubbles = "onfocusin" in window; div.style.backgroundClip = "content-box"; div.cloneNode(true ).style.backgroundClip = ""; support.clearCloneStyle = div.style.backgroundClip === "content-box"; jQuery(function (){ var container, marginDiv, divReset = "padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box", body = _AN_Call_getelementsbytagname("getElementsByTagName", document, "body")[0]; if (!body) { return ; } container = _AN_Call_createelement("createElement", document, "div"); _AN_Write_csstext("cssText", container.style, false , "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"); _AN_Call_appendchild("appendChild", _AN_Call_appendchild("appendChild", body, container), div); _AN_Write_innerhtml("innerHTML", div, false , ""); _AN_Write_csstext("cssText", div.style, false , "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%"); jQuery.swap(body, body.style.zoom != null ? { zoom: 1} : { } , function (){ support.boxSizing = div.offsetWidth === 4; } ); if (window.getComputedStyle) { support.pixelPosition = (window.getComputedStyle(div, null ) || { } ).top !== "1%"; support.boxSizingReliable = (window.getComputedStyle(div, null ) || { width: "4px"} ).width === "4px"; marginDiv = _AN_Call_appendchild("appendChild", div, _AN_Call_createelement("createElement", document, "div")); _AN_Write_csstext("cssText", marginDiv.style, false , _AN_Write_csstext("cssText", div.style, false , divReset)); marginDiv.style.marginRight = marginDiv.style.width = "0"; div.style.width = "1px"; support.reliableMarginRight = !parseFloat((window.getComputedStyle(marginDiv, null ) || { } ).marginRight); } body.removeChild(container); } ); return support; } )({ } );