Manipulation: Check state lost if the name is set for Android 4.0-4.3

Refs gh-1820
Closes gh-1841
This commit is contained in:
Michał Gołębiowski 2014-11-05 18:14:56 +01:00
parent c309b95756
commit 1bbb678949

View File

@ -7,10 +7,13 @@ define([
div = fragment.appendChild( document.createElement( "div" ) ),
input = document.createElement( "input" );
// Support: Android 4.0-4.3
// 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 );