Ticket #8783: 8783.patch
File 8783.patch, 1.1 KB (added by , 12 years ago) |
---|
-
_source/core/dom/element.js
466 466 case 'style': 467 467 // IE does not return inline styles via getAttribute(). See #2947. 468 468 return this.$.style.cssText; 469 470 case 'contenteditable': 471 case 'contentEditable': 472 return this.$.attributes.getNamedItem( 'contentEditable' ).specified ? 473 this.$.getAttribute( 'contentEditable' ) : null; 469 474 } 470 475 471 476 return standard.call( this, name ); … … 1068 1073 this.$.tabIndex = value; 1069 1074 else if ( name == 'checked' ) 1070 1075 this.$.checked = value; 1076 else if ( name == 'contenteditable' ) 1077 standard.call( this, 'contentEditable', value ); 1071 1078 else 1072 1079 standard.apply( this, arguments ); 1073 1080 return this; … … 1142 1149 name = 'className'; 1143 1150 else if ( name == 'tabindex' ) 1144 1151 name = 'tabIndex'; 1152 else if ( name == 'contenteditable' ) 1153 name = 'contentEditable'; 1145 1154 standard.call( this, name ); 1146 1155 }; 1147 1156 }