| 666 |
新しい値が <code><a href=#the-body-element>body</a></code> 要素か |
新しい値が <code><a href=#the-body-element>body</a></code> 要素か |
| 667 |
<code>frameset</code> 要素でない場合、 |
<code>frameset</code> 要素でない場合、 |
| 668 |
<code>HIERARCHY_REQUEST_ERR</code> 例外を発生させ、 |
<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:なりません]]。 |