/[suikacvs]/markup/html/html5/spec-ja/data/documents.dat
Suika

Diff of /markup/html/html5/spec-ja/data/documents.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.59 by apache, Sat Oct 25 13:23:18 2008 UTC revision 1.72 by apache, Sat Oct 25 13:36:25 2008 UTC
# Line 625  The <dfn id=dom-document-characterset ti Line 625  The <dfn id=dom-document-characterset ti
625  #ja  #ja
626  <dfn id=dom-document-characterset title=dom-document-characterSet><code>characterSet</code></dfn>  <dfn id=dom-document-characterset title=dom-document-characterSet><code>characterSet</code></dfn>
627  DOM 属性は、取得時、<a href="#document's-character-encoding">文書の文字符号化</a>の優先  DOM 属性は、取得時、<a href="#document's-character-encoding">文書の文字符号化</a>の優先
 MIME 名を返さなければ[[MUST:なりません]]。  
628    MIME 名を返さなければ[[MUST:なりません]]。
629    
630    #en
631    <dfn id=the-body-element-1>The body element</dfn> of a document is the first child of
632      <a href=#the-html-element-0>the <code>html</code> element</a> that is either a
633      <code><a href=#the-body-element>body</a></code> element or a <code>frameset</code> element. If
634      there is no such element, it is null. If the body element is null,
635      then when the specification requires that events be fired at "the
636      body element", they must instead be fired at the
637      <code>Document</code> object.
638    #ja
639    文書の<dfn id=the-body-element-1>文書 body 要素</dfn>は、
640    <a href=#the-html-element-0>文書 <code>html</code> 要素</a>の最初の子供であって、
641    <code><a href=#the-body-element>body</a></code> 要素か <code>frameset</code>
642    要素のいずれかであるものです。そのような要素がない場合、 null です。
643    文書 body 要素が null の場合、仕様書により事象が「文書 body 要素」において発火されることが要求される時、
644    その事象は代わりに
645      <code>Document</code> オブジェクトにおいて発火されなければ[[MUST:なりません]]。
646    
647    #en
648    The <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn>
649      attribute, on getting, must return <a href=#the-body-element-1>the body element</a> of
650      the document (either a <code><a href=#the-body-element>body</a></code> element, a
651      <code>frameset</code> element, or null). On setting, the following
652      algorithm must be run:
653    #ja
654    <dfn id=dom-document-body title=dom-document-body><code>body</code></dfn>
655    属性は、取得時、文書の<a href=#the-body-element-1>文書 body 要素</a>
656    (<code><a href=#the-body-element>body</a></code> 要素か、
657      <code>frameset</code> 要素か、 null のいずれか) を返さなければ[[MUST:なりません]]。
658    設定時、次の算法を走らせなければ[[MUST:なりません]]。
659    
660    #en
661    If the new value is not a <code><a href=#the-body-element>body</a></code> or
662       <code>frameset</code> element, then raise a
663       <code>HIERARCHY_REQUEST_ERR</code> exception and abort these
664       steps.
665    #ja
666    新しい値が <code><a href=#the-body-element>body</a></code> 要素か
667       <code>frameset</code> 要素でない場合、
668       <code>HIERARCHY_REQUEST_ERR</code> 例外を発生させ、
669    これらの段階を停止します。
670    
671    #en
672    Otherwise, if the new value is the same as <a href=#the-body-element-1>the body
673       element</a>, do nothing. Abort these steps.
674    #ja
675    そうでない場合、新しい値が<a href=#the-body-element-1>文書 body
676    要素</a>と同じであれば、なにもしません。これらの段階を停止します。
677    
678    #en
679    Otherwise, if <a href=#the-body-element-1>the body element</a> is not null, then
680       replace that element with the new value in the DOM, as if the root
681       element's <code title="">replaceChild()</code> method had been
682       called with the new value and <a href=#the-body-element-1 title="the body element">the
683       incumbent body element</a> as its two arguments respectively,
684       then abort these steps.
685    #ja
686    そうでない場合、<a href=#the-body-element-1>文書 body
687    要素</a>が null でなければ、根要素の <code title="">replaceChild()</code>
688    メソッドに新しい値と<a href=#the-body-element-1 title="the body element">現行の文書
689       body 要素</a>をそれぞれ2つの引数として呼び出した場合と同様にして、
690    DOM 中のその要素を新しい値により置き換え、
691    これらの段階を停止します。
692    
693    #en
694    Otherwise, the <a href=#the-body-element-1>the body element</a> is null. Append
695       the new value to the root element.
696    #ja
697    そうでない場合、<a href=#the-body-element-1>文書 body
698    要素</a>は null です。新しい値を根要素の末尾に追加します。
699    
700    #en
701    The <dfn id=dom-document-images title=dom-document-images><code>images</code></dfn>
702      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
703      <code>Document</code> node, whose filter matches only
704      <code><a href=#the-img-element>img</a></code> elements.
705    #ja
706    <dfn id=dom-document-images title=dom-document-images><code>images</code></dfn>
707    属性は、 <code>Document</code> 節点を根とする、
708    濾過器が <code><a href=#the-img-element>img</a></code> 要素にのみ一致するような
709    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
710    を返さなければ[[MUST:なりません]]。
711    
712    #en
713    The <dfn id=dom-document-embeds title=dom-document-embeds><code>embeds</code></dfn>
714      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
715      <code>Document</code> node, whose filter matches only
716      <code><a href=#the-embed-element>embed</a></code> elements.
717    #ja
718    <dfn id=dom-document-embeds title=dom-document-embeds><code>embeds</code></dfn>
719    属性は、 <code>Document</code> 節点を根とする、
720    濾過器が <code><a href=#the-img-element>embed</a></code> 要素にのみ一致するような
721    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
722    を返さなければ[[MUST:なりません]]。
723    
724    #en
725    The <dfn id=dom-document-plugins title=dom-document-plugins><code>plugins</code></dfn>
726      attribute must return the same object as that returned by the <code title=dom-document-embeds><a href=#dom-document-embeds>embeds</a></code> attribute.
727    #ja
728    <dfn id=dom-document-plugins title=dom-document-plugins><code>plugins</code></dfn>
729    属性は、 <code title=dom-document-embeds><a href=#dom-document-embeds>embeds</a></code>
730    属性が返すのと同じオブジェクトを返さなければ[[MUST:なりません]]。
731    
732    #en
733    The <dfn id=dom-document-links title=dom-document-links><code>links</code></dfn>
734      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
735      <code>Document</code> node, whose filter matches only <code><a href=#the-a-element>a</a></code>
736      elements with <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
737      attributes and <code><a href=#the-area-element>area</a></code> elements with <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attributes.
738    #ja
739    <dfn id=dom-document-links title=dom-document-links><code>links</code></dfn>
740    属性は、<code>Document</code> 節点を根とする、
741    濾過器が <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
742    属性を持つ <code><a href=#the-a-element>a</a></code> 要素と
743    <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
744    属性を持つ <code><a href=#the-area-element>area</a></code> 要素にのみ一致するような
745    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
746    を返さなければ[[MUST:なりません]]。
747    
748    #en
749    The <dfn id=dom-document-forms title=dom-document-forms><code>forms</code></dfn>
750      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
751      <code>Document</code> node, whose filter matches only
752      <code><a href=#the-form-element>form</a></code> elements.
753    #ja
754    <dfn id=dom-document-forms title=dom-document-forms><code>forms</code></dfn>
755    属性は、<code>Document</code> 節点を根とする、
756    濾過器が <code><a href=#the-form-element>form</a></code> 要素にのみ一致するような
757    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
758    を返さなければ[[MUST:なりません]]。
759    
760    #en
761    The <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
762      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
763      <code>Document</code> node, whose filter matches only <code><a href=#the-a-element>a</a></code>
764      elements with <code title=attr-a-name>name</code> attributes.
765    #ja
766    <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
767    属性は、<code>Document</code> 節点を根とする、
768    濾過器が <code title=attr-a-name>name</code> 属性を持つ
769    <code><a href=#the-a-element>a</a></code>
770    要素にのみ一致するような
771    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
772    を返さなければ[[MUST:なりません]]。
773    
774    #en
775    The <dfn id=dom-document-scripts title=dom-document-scripts><code>scripts</code></dfn>
776      attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
777      <code>Document</code> node, whose filter matches only
778      <code><a href=#script>script</a></code> elements.
779    #ja
780    <dfn id=dom-document-scripts title=dom-document-scripts><code>scripts</code></dfn>
781    属性は、<code>Document</code> 節点を根とする、
782    濾過器が <code><a href=#script>script</a></code>
783    要素にのみ一致するような
784    <code><a href=#htmlcollection-0>HTMLCollection</a></code>
785    を返さなければ[[MUST:なりません]]。

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.72

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24