aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation/support.js')
-rw-r--r--src/manipulation/support.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/manipulation/support.js b/src/manipulation/support.js
index 4a5d9af4c..f2ff88e17 100644
--- a/src/manipulation/support.js
+++ b/src/manipulation/support.js
@@ -10,21 +10,14 @@ define( [
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
+ // Support: IE <=11+
// Make sure textarea (and checkbox) defaultValue is properly cloned
div.innerHTML = "<textarea>x</textarea>";
support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;