| 50 |
#ja |
#ja |
| 51 |
<dfn id=view>表示</dfn>は、何らかの媒体における <code>Document</code> |
<dfn id=view>表示</dfn>は、何らかの媒体における <code>Document</code> |
| 52 |
オブジェクトの表現のために用いられる、特定の媒体に紐付けされた利用者エージェント界面です。 |
オブジェクトの表現のために用いられる、特定の媒体に紐付けされた利用者エージェント界面です。 |
| 53 |
表示は対話的であっても[[MAY:構いません]]。各表示は <code>AbstractView</code> |
提示は対話的であっても[[MAY:構いません]]。各表示は <code>AbstractView</code> |
| 54 |
オブジェクトにより現れます。各表示は<a |
オブジェクトにより現れます。各表示は<a |
| 55 |
href="#browsing1">閲覧文脈</a>に属します。 <a |
href="#browsing1">閲覧文脈</a>に属します。 <a |
| 56 |
href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
| 95 |
href="#view">表示</a>、つまりブラウザの窓 (画面媒体) を持っています。 |
href="#view">表示</a>、つまりブラウザの窓 (画面媒体) を持っています。 |
| 96 |
しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。 |
しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。 |
| 97 |
2つの表示は常に同じ元の <code>Document</code> を共有していますが、 |
2つの表示は常に同じ元の <code>Document</code> を共有していますが、 |
| 98 |
その文書の異なる表現を有しています。会話ブラウザも、 |
その文書の異なる提示を有しています。会話ブラウザも、 |
| 99 |
会話媒体での表示を有する閲覧文脈を確立します。 |
会話媒体での表示を有する閲覧文脈を確立します。 |
| 100 |
|
|
| 101 |
#en |
#en |
| 108 |
特に、データ・マイニング・ツールは閲覧文脈を決して実現値化しないでしょう。 |
特に、データ・マイニング・ツールは閲覧文脈を決して実現値化しないでしょう。 |
| 109 |
|
|
| 110 |
#en |
#en |
| 111 |
The main <a href="#view">view</a> through which a user primarily |
The main <a href="#view">view</a> through which a user primarily |
| 112 |
interacts with a user agent is the <dfn id=default3>default view</dfn>. |
interacts with a user agent is the <dfn id=default4>default view</dfn>. |
| 113 |
#ja |
#ja |
| 114 |
利用者が利用者エージェントと対話するために主に使用する<a href="#view">表示</a>が<dfn id=default3>既定表示</dfn>です。 |
利用者が利用者エージェントと対話するために主に使用する<a href="#view">表示</a>が<dfn id=default4>既定表示</dfn>です。 |
| 115 |
|
|
| 116 |
#en |
#en |
| 117 |
The <a href="#default3">default view</a> of a |
The <a href="#default4">default view</a> of a |
| 118 |
<code>Document</code> is given by the <code title="">defaultView</code> |
<code>Document</code> is given by the <code title="">defaultView</code> |
| 119 |
|
|
| 120 |
attribute on the <code>Document</code> object's <code>DocumentView</code> |
attribute on the <code>Document</code> object's <code>DocumentView</code> |
| 121 |
interface. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a> |
interface. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a> |
| 122 |
#ja |
#ja |
| 123 |
<code>Document</code> の <a href="#default3">既定表示</a>は |
<code>Document</code> の <a href="#default4">既定表示</a>は |
| 124 |
<code>Document</code> オブジェクトの <code>DocumentView</code> |
<code>Document</code> オブジェクトの <code>DocumentView</code> |
| 125 |
界面の <code title="">defaultView</code> |
界面の <code title="">defaultView</code> |
| 126 |
属性により与えられます。 <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a> |
属性により与えられます。 <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a> |
| 127 |
|
|
| 128 |
#en |
#en |
| 129 |
When a <a href="#browsing1">browsing context</a> is first created, it |
When a <a href="#browsing1">browsing context</a> is first created, it |
| 130 |
must be created with a single <code>Document</code> in its session |
must be created with a single <code>Document</code> in its session |
| 131 |
history, whose <span title="the document's address">address</span><!-- |
history, whose <span title="the document's address">address</span><!-- |
| 132 |
XXXDOCURL --> |
XXXDOCURL --> |
| 133 |
|
is <code><a href="#aboutblank">about:blank</a></code><!-- XXX xref -->, |
| 134 |
is <code>about:blank</code><!-- XXX xref -->, which is marked as being an |
which is marked as being an <a href="#html-" title="HTML documents">HTML |
| 135 |
<a href="#html-" title="HTML documents">HTML document</a>, and whose <a |
document</a>, and whose <a href="#character3" title="document's character |
| 136 |
href="#character1" title="document's character encoding">character |
encoding">character encoding</a> is UTF-8. The <code>Document</code> must |
| 137 |
encoding</a> is UTF-8. The <code>Document</code> must have a single child |
have a single child <code><a href="#html">html</a></code> node, which |
| 138 |
<code><a href="#html">html</a></code> node, which itself has a single |
itself has a single child <code><a href="#body0">body</a></code> node. If |
| 139 |
child <code><a href="#body0">body</a></code> node. If the <a |
the <a href="#browsing1">browsing context</a> is created specifically to |
| 140 |
href="#browsing1">browsing context</a> is created specifically to be |
be immediately navigated, then that initial navigation will have <a |
|
immediately navigated, then that initial navigation will have <a |
|
| 141 |
href="#replacement">replacement enabled</a>. |
href="#replacement">replacement enabled</a>. |
| 142 |
#ja |
#ja |
| 143 |
<a href="#browsing1">閲覧文脈</a>が最初に作成されたとき、 |
<a href="#browsing1">閲覧文脈</a>が最初に作成されたとき、 |
| 144 |
閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が |
閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が |
| 145 |
<code>about:blank</code> で、 <a href="#html-" title="HTML documents">HTML |
<code><a href="#aboutblank">about:blank</a></code><!-- XXX xref --> で、 <a href="#html-" title="HTML documents">HTML |
| 146 |
文書</a>として印付けされており、<a |
文書</a>として印付けされており、<a |
| 147 |
href="#character1" title="document's character encoding">文字符号化</a>が |
href="#character1" title="document's character encoding">文字符号化</a>が |
| 148 |
UTF-8 である <code>Document</code> |
UTF-8 である <code>Document</code> |
| 156 |
href="#replacement">置換有効</a>で行われます。 |
href="#replacement">置換有効</a>で行われます。 |
| 157 |
|
|
| 158 |
#en |
#en |
| 159 |
The <a href="#origin0">origin</a> of the |
The <a href="#origin0">origin</a> of the <code><a |
| 160 |
<code>about:blank</code> <code>Document</code> is set when the |
href="#aboutblank">about:blank</a></code> <code>Document</code> is set |
| 161 |
<code>Document</code> is created, in a manner dependent on whether the <a |
when the <code>Document</code> is created, in a manner dependent on |
| 162 |
href="#browsing1">browsing context</a> created is a <a |
whether the <a href="#browsing1">browsing context</a> created is a <a |
| 163 |
href="#nested0">nested browsing context</a>, as follows: |
href="#nested0">nested browsing context</a>, as follows: |
| 164 |
#ja |
#ja |
| 165 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
<code><a |
| 166 |
|
href="#aboutblank">about:blank</a></code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
| 167 |
その <code>Document</code> が作成されるときに、作成された<a |
その <code>Document</code> が作成されるときに、作成された<a |
| 168 |
href="#browsing1">閲覧文脈</a>が<a |
href="#browsing1">閲覧文脈</a>が<a |
| 169 |
href="#nested0">入れ子閲覧文脈</a>であるかどうかにより、 |
href="#nested0">入れ子閲覧文脈</a>であるかどうかにより、 |
| 177 |
href="#nested0">入れ子閲覧文脈</a>である場合 |
href="#nested0">入れ子閲覧文脈</a>である場合 |
| 178 |
|
|
| 179 |
#en |
#en |
| 180 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href="#origin0">origin</a> of the <code><a |
| 181 |
<code>Document</code> is the <a href="#origin0">origin</a> of the <a |
href="#aboutblank">about:blank</a></code> <code>Document</code> is the <a |
| 182 |
href="#active">active document</a> of the new <a |
href="#origin0">origin</a> of the <a href="#active">active document</a> |
| 183 |
href="#browsing1">browsing context</a>'s <a href="#parent">parent |
of the new <a href="#browsing1">browsing context</a>'s <a |
| 184 |
browsing context</a> at the time of its creation. |
href="#parent">parent browsing context</a> at the time of its creation. |
| 185 |
#ja |
#ja |
| 186 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
<code><a |
| 187 |
|
href="#aboutblank">about:blank</a></code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
| 188 |
新しい<a |
新しい<a |
| 189 |
href="#browsing1">閲覧文脈</a>の作成の時点でのその<a href="#parent">親閲覧文脈</a>の<a |
href="#browsing1">閲覧文脈</a>の作成の時点でのその<a href="#parent">親閲覧文脈</a>の<a |
| 190 |
href="#active">活性文書</a>の<a href="#origin0">起源</a>です。 |
href="#active">活性文書</a>の<a href="#origin0">起源</a>です。 |
| 197 |
href="#auxiliary0">補助閲覧文脈</a>である場合 |
href="#auxiliary0">補助閲覧文脈</a>である場合 |
| 198 |
|
|
| 199 |
#en |
#en |
| 200 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href="#origin0">origin</a> of the <code><a |
| 201 |
|
href="#aboutblank">about:blank</a></code> |
| 202 |
<code>Document</code> is the <a href="#origin0">origin</a> of the <a |
<code>Document</code> is the <a href="#origin0">origin</a> of the <a |
| 203 |
href="#active">active document</a> of the new <a |
href="#active">active document</a> of the new <a |
| 204 |
href="#browsing1">browsing context</a>'s <a href="#opener">opener |
href="#browsing1">browsing context</a>'s <a href="#opener">opener |
| 205 |
browsing context</a> at the time of the new browsing context's creation. |
browsing context</a> at the time of the new browsing context's creation. |
| 206 |
#ja |
#ja |
| 207 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
<code><a |
| 208 |
|
href="#aboutblank">about:blank</a></code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
| 209 |
新しい閲覧文脈の作成の時点でのその<a href="#opener">開き元閲覧文脈</a>の<a |
新しい閲覧文脈の作成の時点でのその<a href="#opener">開き元閲覧文脈</a>の<a |
| 210 |
href="#active">活性文書</a>の<a href="#origin0">起点</a>です。 |
href="#active">活性文書</a>の<a href="#origin0">起点</a>です。 |
| 211 |
|
|
| 215 |
その他の場合 |
その他の場合 |
| 216 |
|
|
| 217 |
#en |
#en |
| 218 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href="#origin0">origin</a> of the <code><a |
| 219 |
|
href="#aboutblank">about:blank</a></code> |
| 220 |
|
|
| 221 |
<code>Document</code> is a globally unique identifier assigned when the |
<code>Document</code> is a globally unique identifier assigned when the |
| 222 |
new <a href="#browsing1">browsing context</a> is created. |
new <a href="#browsing1">browsing context</a> is created. |
| 223 |
#ja |
#ja |
| 224 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
<code><a |
| 225 |
|
href="#aboutblank">about:blank</a></code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
| 226 |
その新しい<a href="#browsing1">閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。 |
その新しい<a href="#browsing1">閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。 |
| 227 |
|
|
| 228 |
#pattern |
#pattern |
| 235 |
elements) can instantiate further <a href="#browsing1" title="browsing |
elements) can instantiate further <a href="#browsing1" title="browsing |
| 236 |
context">browsing contexts</a>. These are called <dfn id=nested0 |
context">browsing contexts</a>. These are called <dfn id=nested0 |
| 237 |
title="nested browsing context">nested browsing contexts</dfn>. If a |
title="nested browsing context">nested browsing contexts</dfn>. If a |
| 238 |
browsing context <var title="">P</var> has an element in one of its |
browsing context <var title="">P</var> has an element <var |
| 239 |
<code>Document</code>s <var title="">D</var> that nests another browsing |
title="">E</var> in one of its <code>Document</code>s <var |
| 240 |
context <var title="">C</var> inside it, then <var title="">P</var> is |
title="">D</var> that nests another browsing context <var title="">C</var> |
| 241 |
said to be the <dfn id=parent>parent browsing context</dfn> of <var |
inside it, then <var title="">P</var> is said to be the <dfn |
| 242 |
title="">C</var>, <var title="">C</var> is said to be a <dfn |
id=parent>parent browsing context</dfn> of <var title="">C</var>, <var |
| 243 |
id=child>child browsing context</dfn> of <var title="">P</var>, and <var |
title="">C</var> is said to be a <dfn id=child>child browsing |
| 244 |
title="">C</var> is said to be <dfn id=nested1 title="browsing context |
context</dfn> of <var title="">P</var>, <var title="">C</var> is said to |
| 245 |
nested through">nested through</dfn> <var title="">D</var>. |
be <dfn id=nested1 title="browsing context nested through">nested |
| 246 |
|
through</dfn> <var title="">D</var>, and <var title="">E</var> is said to |
| 247 |
|
be the <dfn id=browsing2>browsing context container</dfn> of <var |
| 248 |
|
title="">C</var>. |
| 249 |
#ja |
#ja |
| 250 |
要素によっては (例えば <code><a href="#iframe">iframe</a></code> |
要素によっては (例えば <code><a href="#iframe">iframe</a></code> |
| 251 |
要素は)、更に<a href="#browsing1" title="browsing |
要素は)、更に<a href="#browsing1" title="browsing |
| 252 |
context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested0 |
context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested0 |
| 253 |
title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。 |
title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。 |
| 254 |
閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ |
閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ |
| 255 |
<var title="">D</var> 中の要素であって、その内側に別の閲覧文脈 <var title="">C</var> |
<var title="">D</var> 中に要素 <var |
| 256 |
|
title="">E</var> を持っていて、その要素の内側に別の閲覧文脈 <var title="">C</var> |
| 257 |
を入れ子にしている場合、 <var title="">P</var> は <var |
を入れ子にしている場合、 <var title="">P</var> は <var |
| 258 |
title="">C</var> の<dfn id=parent>親閲覧文脈</dfn>であるといい、 |
title="">C</var> の<dfn id=parent>親閲覧文脈</dfn>であるといい、 |
| 259 |
<var title="">C</var> は <var title="">P</var> の<dfn |
<var title="">C</var> は <var title="">P</var> の<dfn |
| 260 |
id=child>子閲覧文脈</dfn>であるといい、 <var |
id=child>子閲覧文脈</dfn>であるといい、 <var |
| 261 |
title="">C</var> は <var title="">D</var> を<dfn id=nested1 title="browsing context |
title="">C</var> は <var title="">D</var> を<dfn id=nested1 title="browsing context |
| 262 |
nested through">通じて入れ子である</dfn>といいます。 |
nested through">通じて入れ子である</dfn>といい、 |
| 263 |
|
<var title="">E</var> は <var |
| 264 |
|
title="">C</var> の<dfn id=browsing2>閲覧文脈包含子</dfn>であるといいます。 |
| 265 |
|
|
| 266 |
#en |
#en |
| 267 |
A browsing context <var title="">A</var> is said to be an ancestor of a |
A browsing context <var title="">A</var> is said to be an ancestor of a |
| 448 |
href="#same-origin" title="same origin">同じ</a>である |
href="#same-origin" title="same origin">同じ</a>である |
| 449 |
|
|
| 450 |
#en |
#en |
| 451 |
|
The browsing context <var title="">A</var> is a <a |
| 452 |
|
href="#nested0">nested browsing context</a> and its <a |
| 453 |
|
href="#top-level">top-level browsing context</a> is <var |
| 454 |
|
title="">B</var>, or |
| 455 |
|
#ja |
| 456 |
|
閲覧文脈 <var title="">A</var> は<a |
| 457 |
|
href="#nested0">入れ子閲覧文脈</a>であり、その<a |
| 458 |
|
href="#top-level">最上位閲覧文脈</a>が <var |
| 459 |
|
title="">B</var> である |
| 460 |
|
|
| 461 |
|
#en |
| 462 |
The browsing context <var title="">B</var> is an <a |
The browsing context <var title="">B</var> is an <a |
| 463 |
href="#auxiliary0">auxiliary browsing context</a> and either its <a |
href="#auxiliary0">auxiliary browsing context</a> and <var |
| 464 |
href="#opener">opener browsing context</a> is <var title="">A</var> or |
title="">A</var> is <a href="#allowed">allowed to navigate</a> <var |
|
<var title="">A</var> is <a href="#allowed">allowed to navigate</a> <var |
|
| 465 |
title="">B</var>'s <a href="#opener">opener browsing context</a>, or |
title="">B</var>'s <a href="#opener">opener browsing context</a>, or |
| 466 |
#ja |
#ja |
| 467 |
閲覧文脈 <var title="">B</var> は<a |
閲覧文脈 <var title="">B</var> は<a |
| 468 |
href="#auxiliary0">補助閲覧文脈</a>であり、かつ、その<a |
href="#auxiliary0">補助閲覧文脈</a>であり、かつ |
| 469 |
href="#opener">開闢器閲覧文脈</a>が <var title="">A</var> |
<var title="">A</var> が <var |
| 470 |
であるか、または <var title="">A</var> が <var |
title="">B</var> の<a href="#opener">開闢器閲覧文脈</a>を<a href="#allowed">操縦することが認められている</a> |
|
title="">B</var> の<a href="#opener">開闢器閲覧文脈</a>を<a href="#allowed">操縦することが認められている</a>かのいずれかである |
|
| 471 |
|
|
| 472 |
#en |
#en |
| 473 |
The browsing context <var title="">B</var> is not a <a |
The browsing context <var title="">B</var> is not a <a |
| 488 |
href="#origin0">起源</a>を持つものが存在する |
href="#origin0">起源</a>を持つものが存在する |
| 489 |
(実のところ <var title="">A</var> 自体であることもある) |
(実のところ <var title="">A</var> 自体であることもある) |
| 490 |
|
|
| 491 |
|
#pattern |
| 492 |
|
<span class=secno>* </span>Threads |
| 493 |
|
#ja |
| 494 |
|
<span class=secno>$1 </span>スレッド |
| 495 |
|
|
| 496 |
|
#en |
| 497 |
|
Each <a href="#browsing1">browsing context</a> is defined as having a |
| 498 |
|
list of zero or more <dfn id=directly>directly reachable browsing |
| 499 |
|
contexts</dfn>. These are: |
| 500 |
|
#ja |
| 501 |
|
各<a href="#browsing1">閲覧文脈</a>は、零以上の<dfn id=directly>直接到達可能閲覧文脈</dfn>の並びを持つと定義します。 |
| 502 |
|
これは、次の閲覧文脈を含みます。 |
| 503 |
|
|
| 504 |
|
#en |
| 505 |
|
All the <a href="#browsing1">browsing context</a>'s <a href="#child" |
| 506 |
|
title="child browsing context">child browsing contexts</a>. |
| 507 |
|
#ja |
| 508 |
|
当該<a href="#browsing1">閲覧文脈</a>の全ての<a href="#child" |
| 509 |
|
title="child browsing context">子閲覧文脈</a>。 |
| 510 |
|
|
| 511 |
|
#en |
| 512 |
|
The <a href="#browsing1">browsing context</a>'s <a |
| 513 |
|
href="#parent">parent browsing context</a>. |
| 514 |
|
#ja |
| 515 |
|
当該<a href="#browsing1">閲覧文脈</a>の<a |
| 516 |
|
href="#parent">親閲覧文脈</a>。 |
| 517 |
|
|
| 518 |
|
#en |
| 519 |
|
All the <a href="#browsing1" title="browsing context">browsing |
| 520 |
|
contexts</a> that have the <a href="#browsing1">browsing context</a> as |
| 521 |
|
their <a href="#opener">opener browsing context</a>. |
| 522 |
|
#ja |
| 523 |
|
当該<a href="#browsing1">閲覧文脈</a>が<a href="#opener">開闢器閲覧文脈</a>であるすべての<a href="#browsing1" title="browsing context">閲覧文脈</a>。 |
| 524 |
|
|
| 525 |
|
#en |
| 526 |
|
The <a href="#browsing1">browsing context</a>'s <a |
| 527 |
|
href="#opener">opener browsing context</a>. |
| 528 |
|
#ja |
| 529 |
|
当該<a href="#browsing1">閲覧文脈</a>の<a href="#opener">開闢器閲覧文脈</a>。 |
| 530 |
|
|
| 531 |
|
#en |
| 532 |
|
The transitive closure of all the <a href="#browsing1" title="browsing |
| 533 |
|
context">browsing contexts</a> that are <a href="#directly">directly |
| 534 |
|
reachable browsing contexts</a> forms a <dfn id=unit-of>unit of related |
| 535 |
|
browsing contexts</dfn>. |
| 536 |
|
#ja |
| 537 |
|
<a href="#directly">直接到達可能閲覧文脈</a>である<a href="#browsing1" title="browsing |
| 538 |
|
context">閲覧文脈</a>すべての推移的閉包は、<dfn id=unit-of>関連閲覧文脈の単位</dfn>を形成します。 |
| 539 |
|
|
| 540 |
|
#en |
| 541 |
|
All the executable code in a <a href="#unit-of">unit of related browsing |
| 542 |
|
contexts</a> must execute on a single conceptual thread. The dispatch of |
| 543 |
|
events fired by the user agent (e.g. in response to user actions or |
| 544 |
|
network activity) and the execution of any scripts associated with timers |
| 545 |
|
must be serialized so that for each <a href="#unit-of">unit of related |
| 546 |
|
browsing contexts</a> there is only one script being executed at a time. |
| 547 |
|
#ja |
| 548 |
|
<a href="#unit-of">関連閲覧文脈の単位</a>内のすべての実行可能符号は、 |
| 549 |
|
単一の概念的なスレッドで実行されなければ[[MUST:なりません]]。利用者エージェントが |
| 550 |
|
(例えば利用者の作用やネットワーク活動への反応として) 発火する事象の発送やタイマーと関連付けられたスクリプトの実行は、 |
| 551 |
|
<a href="#unit-of">関連閲覧文脈の単位</a>毎に同時に1つのスクリプトだけが実行されるように直列化されなければ[[MUST:なりません]]。 |
| 552 |
|
|
| 553 |
|
#pattern |
| 554 |
|
<span class=secno>* </span>Browsing context names |
| 555 |
|
#ja |
| 556 |
|
<span class=secno>$1 </span>閲覧文脈名 |
| 557 |
|
|
| 558 |
|
#en |
| 559 |
|
Browsing contexts can have a <dfn id=browsing2>browsing context |
| 560 |
|
name</dfn>. By default, a browsing context has no name (its name is not |
| 561 |
|
set). |
| 562 |
|
#ja |
| 563 |
|
閲覧文脈は、<dfn id=browsing2>閲覧文脈名</dfn>を持つことができます。 |
| 564 |
|
既定では、閲覧文脈は名前を持ちません (名前は設定されません)。 |
| 565 |
|
|
| 566 |
|
|
| 567 |
|
|
| 568 |
|
|
| 569 |
|
|
| 570 |
|
|
| 571 |
|
|
| 572 |
|
|
| 573 |
|
|
| 647 |
#ja |
#ja |
| 648 |
利用者エージェントは、 XML ファイルを行内で表示することになったとき、 |
利用者エージェントは、 XML ファイルを行内で表示することになったとき、 |
| 649 |
まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、 |
まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、 |
| 650 |
RFC 3023、DOM3 中核、その他関連仕様に従って作成しなければ[[MUST:なりません]]。 |
RFC 3023、DOM3 中核、その他関連する仕様書に従って作成しなければ[[MUST:なりません]]。 |
| 651 |
<a href="#refsXML">[XML]</a> <a |
<a href="#refsXML">[XML]</a> <a |
| 652 |
href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a |
href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a |
| 653 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href="#refsDOM3CORE">[DOM3CORE]</a> |
| 701 |
<code |
<code |
| 702 |
title=attr-html-manifest><a href="#manifest">manifest</a></code> |
title=attr-html-manifest><a href="#manifest">manifest</a></code> |
| 703 |
属性の処理は根要素が構文解析されてはじめて行われますから、 |
属性の処理は根要素が構文解析されてはじめて行われますから、 |
| 704 |
根要素の前に現れる処理指令 (例えば処理指令 <code |
根要素の前に現れる処理指令 (例えば <code |
| 705 |
title=""><?xml-styleesheet?></code> や <code |
title=""><?xml-styleesheet?></code> や <code |
| 706 |
title=""><?xbl?></code>) が参照する URI はネットワークから取得され、 |
title=""><?xbl?></code> 処理指令) が参照する URI |
| 707 |
キャッシュすることができません。 |
はネットワークから取って来られることになり、キャッシュできません。 |
| 708 |
|
|
| 709 |
#en |
#en |
| 710 |
User agents may examine the namespace of the root <code>Element</code> |
User agents may examine the namespace of the root <code>Element</code> |
| 734 |
<code>Document</code> によって、 |
<code>Document</code> によって、 |
| 735 |
<a href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
<a href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
| 736 |
利用者エージェントは、これを文書全体が構文解析される前に行って |
利用者エージェントは、これを文書全体が構文解析される前に行って |
| 737 |
(<i>逐次レンダリング</i>を実現して) も[[MAY:構いません]]。 |
(<i>逐次的レンダリング</i>を実現して) も[[MAY:構いません]]。 |
| 738 |
|
|
| 739 |
#en |
#en |
| 740 |
Error messages from the parse process (e.g. namespace well-formedness |
Error messages from the parse process (e.g. namespace well-formedness |
| 741 |
errors) may be reported inline by mutating the <code>Document</code>. |
errors) may be reported inline by mutating the <code>Document</code>. |
| 742 |
#ja |
#ja |
| 743 |
構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り) |
構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り) |
|
は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。 |
|
| 744 |
|
は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。 |
| 745 |
|
|
| 746 |
|
#en |
| 747 |
|
Browsing contexts can have a <dfn id=browsing3>browsing context |
| 748 |
|
name</dfn>. By default, a browsing context has no name (its name is not |
| 749 |
|
set). |
| 750 |
|
#ja |
| 751 |
|
閲覧文脈は<dfn id=browsing3>閲覧文脈名</dfn>を持つことができます。 |
| 752 |
|
既定では閲覧文脈は名前を持ちません (名前は設定されません)。 |
| 753 |
|
|
| 754 |
|
#en |
| 755 |
|
A <dfn id=valid9>valid browsing context name</dfn> is any string with at |
| 756 |
|
least one character that does not start with a U+005F LOW LINE character. |
| 757 |
|
(Names starting with an underscore are reserved for special keywords.) |
| 758 |
|
#ja |
| 759 |
|
<dfn id=valid9>妥当な閲覧文脈名</dfn>は、最低1文字を含み、 |
| 760 |
|
U+005F LOW LINE からはじまらない文字列です。 |
| 761 |
|
(下線からはじまる文字列は特別なキーワードに予約されています。) |
| 762 |
|
|
| 763 |
|
#en |
| 764 |
|
A <dfn id=valid10>valid browsing context name or keyword</dfn> is any |
| 765 |
|
string that is either a <a href="#valid9">valid browsing context name</a> |
| 766 |
|
or that is an <a href="#ascii">ASCII case-insensitive</a> match for one |
| 767 |
|
of: <code title="">_blank</code>, <code title="">_self</code>, <code |
| 768 |
|
title="">_parent</code>, or <code title="">_top</code>. |
| 769 |
|
#ja |
| 770 |
|
<dfn id=valid10>妥当な閲覧文脈の名前かキーワード</dfn>は、 |
| 771 |
|
<a href="#valid9">妥当な閲覧文脈名</a>であるか、または |
| 772 |
|
<a href="#ascii">ASCII 大文字・小文字不区別</a>で |
| 773 |
|
<code title="">_blank</code>、<code title="">_self</code>、<code |
| 774 |
|
title="">_parent</code>、<code title="">_top</code> |
| 775 |
|
のいずれかと一致するかのどちらかである文字列です。 |
| 776 |
|
|
| 777 |
|
#en |
| 778 |
|
<dfn id=the-rules>The rules for choosing a browsing context given a |
| 779 |
|
browsing context name</dfn> are as follows. The rules assume that they are |
| 780 |
|
being applied in the context of a <a href="#browsing1">browsing |
| 781 |
|
context</a>. |
| 782 |
|
#ja |
| 783 |
|
<dfn id=the-rules>閲覧文脈名から閲覧文脈を選ぶ規則</dfn>は次の通りです。 |
| 784 |
|
この規則はある<a href="#browsing1">閲覧文脈</a>の文脈において適用されることを想定しています。 |
| 785 |
|
|
| 786 |
|
#en |
| 787 |
|
If the given browsing context name is the empty string or <code |
| 788 |
|
title="">_self</code>, then the chosen browsing context must be the |
| 789 |
|
current one. |
| 790 |
|
#ja |
| 791 |
|
与えられた閲覧文脈名が空文字列であるか、<code |
| 792 |
|
title="">_self</code> である場合、選ばれる閲覧文脈は現在のものでなければ[[MUST:なりません]]。 |
| 793 |
|
|
| 794 |
|
#en |
| 795 |
|
If the given browsing context name is <code title="">_parent</code>, |
| 796 |
|
then the chosen browsing context must be the <a |
| 797 |
|
href="#parent"><em>parent</em> browsing context</a> of the current one, |
| 798 |
|
unless there isn't one, in which case the chosen browsing context must |
| 799 |
|
be the current browsing context. |
| 800 |
|
#ja |
| 801 |
|
与えられた閲覧文脈名が <code title="">_parent</code> である場合、 |
| 802 |
|
選ばれる閲覧文脈は現在の閲覧文脈の<a |
| 803 |
|
href="#parent"><em>親</em>閲覧文脈</a>があればそれでなければ[[MUST:ならず]]、 |
| 804 |
|
なければ現在の閲覧文脈でなければ[[MUST:なりません]]。 |
| 805 |
|
|
| 806 |
|
#en |
| 807 |
|
If the given browsing context name is <code title="">_top</code>, then |
| 808 |
|
the chosen browsing context must be the most <a |
| 809 |
|
href="#top-level">top-level browsing context</a> of the current one. |
| 810 |
|
#ja |
| 811 |
|
与えられた閲覧文脈名が <code title="">_top</code> である場合、 |
| 812 |
|
選ばれる閲覧文脈は現在の閲覧文脈の一番<a |
| 813 |
|
href="#top-level">最上位閲覧文脈</a>でなければ[[MUST:なりません]]。 |
| 814 |
|
|
| 815 |
|
#en |
| 816 |
|
If the given browsing context name is not <code title="">_blank</code> |
| 817 |
|
and there exists a browsing context whose <a href="#browsing3" |
| 818 |
|
title="browsing context name">name</a> is the same as the given browsing |
| 819 |
|
context name, and the current browsing context is <a |
| 820 |
|
href="#allowed">allowed to navigate</a> that browsing context, and the |
| 821 |
|
user agent determines that the two browsing contexts are related enough |
| 822 |
|
that it is ok if they reach each other, then that browsing context must |
| 823 |
|
be the chosen one. If there are multiple matching browsing contexts, the |
| 824 |
|
user agent should select one in some arbitrary consistent manner, such |
| 825 |
|
as the most recently opened, most recently focused, or more closely |
| 826 |
|
related. |
| 827 |
|
#ja |
| 828 |
|
与えられた閲覧文脈名が <code title="">_blank</code> |
| 829 |
|
ではなく、<a href="#browsing3" |
| 830 |
|
title="browsing context name">名前</a>が与えられた閲覧文脈名と同じである閲覧文脈が存在する場合で、 |
| 831 |
|
現在の閲覧文脈がその閲覧文脈を<a |
| 832 |
|
href="#allowed">操縦することが認められており</a>、 |
| 833 |
|
利用者エージェントが2つの閲覧文脈は十分関係しているので互いに到達してもよいと判断した場合、 |
| 834 |
|
選ばれる閲覧文脈はその閲覧文脈でなければ[[MUST:なりません]]。 |
| 835 |
|
一致する閲覧文脈が複数ある場合、利用者エージェントは何らかの一貫した方法、 |
| 836 |
|
例えば最も新しく開かれたもの、最も新しく焦点を当てられたもの、 |
| 837 |
|
最もよく関係しているものといった方法で1つを選ぶ[[SHOULD:べきです]]。 |
| 838 |
|
|
| 839 |
|
#en |
| 840 |
|
Otherwise, a new browsing context is being requested, and what happens |
| 841 |
|
depends on the user agent's configuration and/or abilities: |
| 842 |
|
#ja |
| 843 |
|
それ以外の場合、新しい閲覧文脈が要求されており、 |
| 844 |
|
利用者エージェントの設定や能力、あるいはその両方によって動作が決まります。 |
| 845 |
|
|
| 846 |
|
#en |
| 847 |
|
If the current browsing context has the <a |
| 848 |
|
href="#sandboxed">sandboxed navigation browsing context flag</a> set. |
| 849 |
|
#ja |
| 850 |
|
現在の閲覧文脈が<a |
| 851 |
|
href="#sandboxed">砂箱化操縦閲覧文脈旗</a>を設定されている場合。 |
| 852 |
|
|
| 853 |
|
#en |
| 854 |
|
The user agent may offer to create a new <a |
| 855 |
|
href="#top-level">top-level browsing context</a> or reuse an existing |
| 856 |
|
<a href="#top-level">top-level browsing context</a>. If the user picks |
| 857 |
|
one of those options, then the designated browsing context must be the |
| 858 |
|
chosen one (the browsing context's name isn't set to the given browsing |
| 859 |
|
context name). Otherwise (if the user agent doesn't offer the option to |
| 860 |
|
the user, or if the user declines to allow a browsing context to be |
| 861 |
|
used) there must not be a chosen browsing context. |
| 862 |
|
#ja |
| 863 |
|
利用者エージェントは新しい<a |
| 864 |
|
href="#top-level">最上位閲覧文脈</a>を作成することや既存の<a href="#top-level">最上位閲覧文脈</a>を再利用することを提示して[[MAY:構いません]]。 |
| 865 |
|
利用者エージェントがこれらの選択肢の1つを選んだ場合、 |
| 866 |
|
指定された閲覧文脈を選ばれた閲覧文脈としなければ[[MUST:なりません]] |
| 867 |
|
(閲覧文脈名は与えられた閲覧文脈名に設定しません)。 |
| 868 |
|
そうでない場合 (利用者エージェントが利用者に選択肢を提示しない場合、 |
| 869 |
|
あるいは利用者が閲覧文脈を使うことを認めないことにした場合)、 |
| 870 |
|
どの閲覧文脈も選んでは[[MUST NOT:なりません]]。 |
| 871 |
|
|
| 872 |
|
#en |
| 873 |
|
The <dfn id=top0 title=dom-top><code>top</code></dfn> DOM attribute on |
| 874 |
|
the <code><a href="#window">Window</a></code> object of a <a |
| 875 |
|
href="#browsing1">browsing context</a> <var title="">b</var> must return |
| 876 |
|
the <code><a href="#window">Window</a></code> object of its <a |
| 877 |
|
href="#top-level">top-level browsing context</a> (which would be its own |
| 878 |
|
<code><a href="#window">Window</a></code> object if it was a <a |
| 879 |
|
href="#top-level">top-level browsing context</a> itself). |
| 880 |
|
#ja |
| 881 |
|
<a |
| 882 |
|
href="#browsing1">閲覧文脈</a> <var title="">b</var> の |
| 883 |
|
<code><a href="#window">Window</a></code> オブジェクトの <dfn id=top0 title=dom-top><code>top</code></dfn> DOM |
| 884 |
|
属性は、その<a |
| 885 |
|
href="#top-level">最上位閲覧文脈</a>の |
| 886 |
|
<code><a href="#window">Window</a></code> |
| 887 |
|
オブジェクト (その閲覧文脈自体が<a |
| 888 |
|
href="#top-level">最上位閲覧文脈</a>の場合、 |
| 889 |
|
その <code><a href="#window">Window</a></code> |
| 890 |
|
オブジェクト自体) を返さなければ[[MUST:なりません]]。 |
| 891 |
|
|
| 892 |
|
|
| 893 |
|
#en |
| 894 |
|
The <dfn id=parent0 title=dom-parent><code>parent</code></dfn> DOM |
| 895 |
|
attribute on the <code><a href="#window">Window</a></code> object of a <a |
| 896 |
|
href="#browsing1">browsing context</a> <var title="">b</var> must return |
| 897 |
|
the <code><a href="#window">Window</a></code> object of the <a |
| 898 |
|
href="#parent">parent browsing context</a>, if there is one (i.e. if <var |
| 899 |
|
title="">b</var> is a <a href="#child">child browsing context</a>), or the |
| 900 |
|
<code><a href="#window">Window</a></code> object of the <a |
| 901 |
|
href="#browsing1">browsing context</a> <var title="">b</var> itself, |
| 902 |
|
otherwise (i.e. if it is a <a href="#top-level">top-level browsing |
| 903 |
|
context</a>). |
| 904 |
|
#ja |
| 905 |
|
<a |
| 906 |
|
href="#browsing1">閲覧文脈</a> <var title="">b</var> の |
| 907 |
|
<code><a href="#window">Window</a></code> オブジェクトの <dfn id=parent0 title=dom-parent><code>parent</code></dfn> DOM |
| 908 |
|
属性は、その<a |
| 909 |
|
href="#parent">親閲覧文脈</a>があれば |
| 910 |
|
(つまり <var |
| 911 |
|
title="">b</var> が<a href="#child">子閲覧文脈</a>である場合) その<a |
| 912 |
|
href="#parent">親閲覧文脈</a>の |
| 913 |
|
<code><a href="#window">Window</a></code> |
| 914 |
|
オブジェクトを、そうでない場合 (つまりそれ自体が<a href="#top-level">最上位閲覧文脈</a>の場合) |
| 915 |
|
<a |
| 916 |
|
href="#browsing1">閲覧文脈</a> <var title="">b</var> |
| 917 |
|
自体の <code><a href="#window">Window</a></code> オブジェクトを返さなければ[[MUST:なりません]]。 |
| 918 |
|
|
| 919 |
|
#en |
| 920 |
|
The <dfn id=frameelement |
| 921 |
|
title=dom-frameElement><code>frameElement</code></dfn> DOM attribute on |
| 922 |
|
the <code><a href="#window">Window</a></code> object of a <a |
| 923 |
|
href="#browsing1">browsing context</a> <var title="">b</var>, on getting, |
| 924 |
|
must run the following algorithm: |
| 925 |
|
#ja |
| 926 |
|
<a |
| 927 |
|
href="#browsing1">閲覧文脈</a> <var title="">b</var> の |
| 928 |
|
<code><a href="#window">Window</a></code> オブジェクトの <dfn id=frameelement |
| 929 |
|
title=dom-frameElement><code>frameElement</code></dfn> DOM |
| 930 |
|
属性は、取得時、次の算法を走らせなければ[[MUST:なりません]]。 |
| 931 |
|
|
| 932 |
|
#en |
| 933 |
|
If <var title="">b</var> is not a <a href="#child">child browsing |
| 934 |
|
context</a>, return null and abort these steps. |
| 935 |
|
#ja |
| 936 |
|
<var title="">b</var> が<a href="#child">子閲覧文脈</a>でない場合、 |
| 937 |
|
null を返し、これらの段階を停止します。 |
| 938 |
|
|
| 939 |
|
#en |
| 940 |
|
If the <a href="#parent">parent browsing context</a>'s <a |
| 941 |
|
href="#active">active document</a> does not have the <span>same</span> |
| 942 |
|
<span>effective origin</span> as the script that is accessing the <code |
| 943 |
|
title=dom-frameElement><a href="#frameelement">frameElement</a></code> |
| 944 |
|
attribute, then throw a <a href="#security10">security exception</a>. |
| 945 |
|
#ja |
| 946 |
|
<a href="#parent">親閲覧文脈</a>の<a |
| 947 |
|
href="#active">活性文書</a>が <code |
| 948 |
|
title=dom-frameElement><a href="#frameelement">frameElement</a></code> |
| 949 |
|
属性にアクセスしているスクリプトと<span>同じ</span><span>実効起源</span>を持たない場合、<a href="#security10">保安性例外</a>を投げます。 |
| 950 |
|
|
| 951 |
|
#en |
| 952 |
|
Otherwise, return the <a href="#browsing2">browsing context |
| 953 |
|
container</a> for <var title="">b</var>. |
| 954 |
|
#ja |
| 955 |
|
そうでない場合、 <var title="">b</var> の<a href="#browsing2">閲覧文脈包含子</a>を返します。 |