Sha256: 9b0166bf58c82bba315e5d040087d4454aa1f2ad95de11a145f486216a4ddc37
Contents?: true
Size: 1.01 KB
Versions: 173
Compression:
Stored size: 1.01 KB
Contents
define( [ "../var/document", "../var/support" ], function( document, support ) { "use strict"; ( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); // Support: Android 4.0 - 4.3 only // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); input.setAttribute( "name", "t" ); div.appendChild( input ); // Support: Android <=4.1 only // Older WebKit doesn't clone checked state correctly in fragments support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: IE <=11 only // Make sure textarea (and checkbox) defaultValue is properly cloned div.innerHTML = "<textarea>x</textarea>"; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; } )(); return support; } );
Version data entries
173 entries across 155 versions & 23 rubygems