+ // 4. style="display:none" の場合\r
+ if( that._flags & X_Node_State.STYLE_IS_DISPLAY_NONE ){\r
+ if( X_Node_displayNoneFixForIE5 ){\r
+ // filter の効いている要素を含む要素は display:none が無視される。\r
+ // filter = '' で削除はできるが、再表示時に filter が消える。 -> filter な要素を削除してしまう。 \r
+ elm && elm.parentNode && X_Node__actualRemove( that );\r
+ return nextElement;\r
+ };\r
+ elm && ( elm.style.display = 'none' );\r
+ return elm || nextElement;\r
+ }; \r
+ \r
+ // 5. ie5 非表示fixフラグ\r
+ accumulatedFlags |= that._flags;\r
+ \r
+ if( that._flags & X_Node_State.IE5_DISPLAY_NONE_FIX && ( accumulatedFlags & ( X_Node_State.DIRTY_POSITION | X_Node_State.DIRTY_ID | X_Node_State.DIRTY_CLASSNAME ) === 0 ) ) return nextElement;\r
+ \r
+ \r
+ // 6. 要素の生成\r
+ if( !elm ){\r
+ nextElement ?\r
+ parentElement.insertBefore( X_Node__actualCreate( that, false ), nextElement ) :\r
+ parentElement.appendChild( X_Node__actualCreate( that, false ) );\r
+ return X_Node__afterActualCreate( that ) || X_Node_displayNoneFixForIE5 && nextElement; // ie5 だけこの位置で _rawObject が空の場合がある\r
+ // X_Node__actualCreate, X_Node__afterActualCreate の処理をこちら側に。\r
+ };\r
+ \r
+ // 7. 要素の位置のズレを補正\r
+ if( elm.parentNode !== parentElement || ( nextElement && elm.nextSibling !== nextElement ) ){\r
+ nextElement ?\r
+ parentElement.insertBefore( elm, nextElement ) :\r
+ parentElement.appendChild( elm );\r
+ };\r
+ that._flags &= ~X_Node_State.DIRTY_POSITION;\r
+ \r
+ // 8. 更新の適用\r
+ if( accumulatedFlags & X_Node_BitMask_IS_DIRTY ) delete that._fontSize;\r
+ \r
+ that._flags & X_Node_BitMask_IS_DIRTY && X_Node__updateRawNode( that, elm );\r
+ \r
+ \r
+ // 9. ie5 only\r
+ // 親及び自身へのクラス・id指定で display : none になるケースがありそれを検出\r