X-Git-Url: http://git.osdn.jp/view?p=pettanr%2FclientJs.git;a=blobdiff_plain;f=0.6.x%2Fjs%2F02_dom%2F20_XNode.js;fp=0.6.x%2Fjs%2F02_dom%2F20_XNode.js;h=8ed979d78afa902c63efcc6dd59a4ad93e93e24c;hp=bb392e322246062eabf787fe4415fac385d10bc3;hb=604668ba9efa027d4bc77fd8020d6b6be55d03e1;hpb=ef25747bebf1799d49f9bd0d64e339da9ea61d13 diff --git a/0.6.x/js/02_dom/20_XNode.js b/0.6.x/js/02_dom/20_XNode.js index bb392e3..8ed979d 100644 --- a/0.6.x/js/02_dom/20_XNode.js +++ b/0.6.x/js/02_dom/20_XNode.js @@ -1425,7 +1425,7 @@ function X_Node_startUpdate( time ){ // 強制的に再描画を起こす, 但し activeElement からフォーカスが外れるため復帰する // IE5mode win10 で 確認 if( X_UA[ 'IE5' ] ){ - active = document.activeElement; + active = FocusUtility_getFocusedElement(); X_elmBody.style.visibility = 'hidden'; }; @@ -1438,7 +1438,7 @@ function X_Node_startUpdate( time ){ if( X_UA[ 'IE5' ] ){ X_elmBody.style.visibility = ''; - active && active.parentNode && active.focus(); + active && active.parentNode && FocusUtility_setTemporarilyFocus( active ); }; if( X_Node_updateReservedByReleaseGPU ){ @@ -1530,7 +1530,7 @@ var X_Node__commitUpdate = 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' ] ) ); @@ -1811,7 +1811,7 @@ var X_Node__updateRawNode = // 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' ] );