Skip to content

Commit

Permalink
Manipulation: Check state lost if the name is set for Android 4.0-4.3
Browse files Browse the repository at this point in the history
Refs gh-1820
Closes gh-1841
  • Loading branch information
mgol committed Nov 6, 2014
1 parent c309b95 commit 1bbb678
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/manipulation/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 1bbb678

Please sign in to comment.