update components
This commit is contained in:
parent
84945cabc4
commit
ab2d2eaf94
111 changed files with 4302 additions and 3100 deletions
|
@ -3,6 +3,8 @@ define( [
|
|||
"../var/support"
|
||||
], function( document, support ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
( function() {
|
||||
var input = document.createElement( "input" ),
|
||||
select = document.createElement( "select" ),
|
||||
|
@ -10,20 +12,15 @@ define( [
|
|||
|
||||
input.type = "checkbox";
|
||||
|
||||
// Support: iOS<=5.1, Android<=4.2+
|
||||
// Support: Android <=4.3 only
|
||||
// Default value for a checkbox should be "on"
|
||||
support.checkOn = input.value !== "";
|
||||
|
||||
// Support: IE<=11+
|
||||
// Support: IE <=11 only
|
||||
// Must access selectedIndex to make default options select
|
||||
support.optSelected = opt.selected;
|
||||
|
||||
// Support: Android<=2.3
|
||||
// Options inside disabled selects are incorrectly marked as disabled
|
||||
select.disabled = true;
|
||||
support.optDisabled = !opt.disabled;
|
||||
|
||||
// Support: IE<=11+
|
||||
// Support: IE <=11 only
|
||||
// An input loses its value after becoming a radio
|
||||
input = document.createElement( "input" );
|
||||
input.value = "t";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue