// 強制的に再描画を起こす, 但し activeElement からフォーカスが外れるため復帰する
// IE5mode win10 で 確認
if( X_UA[ 'IE5' ] ){
- active = document.activeElement;
+ active = FocusUtility_getFocusedElement();
X_elmBody.style.visibility = 'hidden';
};
if( X_UA[ 'IE5' ] ){
X_elmBody.style.visibility = '';
- active && active.parentNode && active.focus();
+ active && active.parentNode && FocusUtility_setTemporarilyFocus( active );
};
if( X_Node_updateReservedByReleaseGPU ){
if( !that[ '_tag' ] ){
that[ '_flags' ] &= X_Node_BitMask_RESET_DIRTY;
if( X_UA[ 'IE' ] < 8 ){
- // \n -> \r\n に変換しないと pre タグで開業されない win10ie7(ie11 emu) で確認
+ // \n -> \r\n に変換しないと pre タグで改行されない win10ie7(ie11 emu) で確認
elm = document.createTextNode( X_String_chrReferanceTo( that[ '_text' ] ).split( '\n' ).join( X_String_CRLF ) );
} else {
elm = document.createTextNode( X_String_chrReferanceTo( that[ '_text' ] ) );
// textNode
if( !that[ '_tag' ] ){
if( X_UA[ 'IE' ] < 8 ){
- // \n -> \r\n に変換しないと pre タグで開業されない win10ie7(ie11 emu) で確認
+ // \n -> \r\n に変換しないと pre タグで改行されない win10ie7(ie11 emu) で確認
elm.data = X_String_chrReferanceTo( that[ '_text' ] ).split( '\n' ).join( X_String_CRLF );
} else {
elm.data = X_String_chrReferanceTo( that[ '_text' ] );