Sha256: 007e91659716ac3ba32bde5964fadc979902f0e33093b6becd91f98ef6c510ab

Contents?: true

Size: 1.21 KB

Versions: 36

Compression:

Stored size: 1.21 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;

	// Support: IE <=9 only
	// IE <=9 replaces <option> tags with their contents when inserted outside of
	// the select element.
	div.innerHTML = "<option></option>";
	support.option = !!div.lastChild;
} )();

return support;

} );

Version data entries

36 entries across 28 versions & 4 rubygems

Version Path
trusty-cms-6.3.1 node_modules/jquery-ujs/node_modules/jquery/src/manipulation/support.js
trusty-cms-6.3.1 node_modules/jquery-treetable/node_modules/jquery/src/manipulation/support.js
optimacms-0.1.61 spec/dummy/node_modules/jquery-ujs/node_modules/jquery/src/manipulation/support.js
optimacms-0.1.61 spec/dummy/node_modules/cocoon-js/node_modules/jquery/src/manipulation/support.js
udt-itf-theme-0.1.0 _sass/node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.7 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.6 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.5 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.4 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.3 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.2 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.1 node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.5 node_modules/jquery/src/manipulation/support.js
trusty-cms-5.0.0 node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.4 node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.4 spec/dummy/node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.3 node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.3 spec/dummy/node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.2 spec/dummy/node_modules/jquery/src/manipulation/support.js
trusty-cms-4.3.2 node_modules/jquery/src/manipulation/support.js