X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F01_core%2F16_XViewPort.js;h=a290fead269b3760e31affdbbc047f7c356dbf78;hb=dad4215398716c9913e80ec902c76db6762c1dce;hp=5627a85675b1ded417a5087f1565441903ef5c67;hpb=dc5a75639232882249108b4f708916e9690e42b3;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/01_core/16_XViewPort.js b/0.6.x/js/01_core/16_XViewPort.js index 5627a85..a290fea 100644 --- a/0.6.x/js/01_core/16_XViewPort.js +++ b/0.6.x/js/01_core/16_XViewPort.js @@ -287,12 +287,12 @@ X.ViewPort = { X_ViewPort_rootElement = document.compatMode !== 'CSS1Compat' ? elmBody : elmHtml || elmBody; html = X.Doc.html = X_Node_html = elmHtml && new Node( elmHtml ); - + html._flags |= X_Node_State.IN_TREE; + head = X.Doc.head = X_Node_head = elmHead && new Node( elmHead ); body = X.Doc.body = X_Node_body = new Node( elmBody ); - - body._root = html._root = head._root = body;// _root は html だろ + body.parent = head.parent = html; html._xnodes = [ head, body ];