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

Contents of /markup/html/html5/spec-ja/data/browsers.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.40 - (hide annotations) (download)
Fri Oct 24 03:14:51 2008 UTC (17 years, 8 months ago) by apache
Branch: MAIN
Changes since 1.39: +4 -4 lines
by remote user 'guest'

1 apache 1.3 #pattern
2     <span class=secno>* </span>Web browsers
3     #ja
4     <span class=secno>$1 </span>Web ブラウザ
5    
6     #en
7     This section describes features that apply most directly to Web
8     browsers. Having said that, unless specified elsewhere, the requirements
9     defined in this section <em>do</em> apply to all user agents, whether they
10     are Web browsers or not.
11     #ja
12     この章では、 Web ブラウザに最も直接的に適用される機能について説明します。
13     とはいえ、この章で定義する要件は、特に断らない限り、
14     Web ブラウザであるか否かを問わず全ての利用者エージェントに適用<em>されます</em>。
15    
16     #pattern
17     <span class=secno>* </span>Browsing contexts
18     #ja
19     <span class=secno>$1 </span>閲覧文脈
20 apache 1.5
21 apache 1.3 #en
22 wakaba 1.39 A <dfn id=browsing-context>browsing context</dfn> is a collection of one or
23     more <code>Document</code> objects, and one or more <a href=#view
24 apache 1.3 title=view>views</a>.
25     #ja
26 wakaba 1.39 <dfn id=browsing-context>閲覧文脈</dfn>は1つ以上の <code>Document</code>
27     オブジェクトと1つ以上の<a href=#view
28 apache 1.3 title=view>表示</a>の集成です。
29    
30     #en
31     At any one time, one of the <code>Document</code>s in a <a
32 wakaba 1.39 href=#browsing-context>browsing context</a> is the <dfn id=active-document>active
33 apache 1.3 document</dfn>. The collection of <code>Document</code>s is the <a
34 wakaba 1.39 href=#browsing-context>browsing context</a>'s <a href=#session-history>session
35 apache 1.3 history</a>.
36     #ja
37     いかなる時点においても、ある <a
38 wakaba 1.39 href=#browsing-context>閲覧文脈</a>の中の <code>Document</code>
39     の1つは<dfn id=active-document>活性文書</dfn>です。
40 apache 1.3 <code>Document</code> の集成は<a
41 wakaba 1.39 href=#browsing-context>閲覧文脈</a>の<a href=#session-history>セッション履歴</a>です。
42 apache 1.3
43     #en
44     A <dfn id=view>view</dfn> is a user agent interface tied to a particular
45     media used for the presentation of <code>Document</code> objects in some
46     media. A view may be interactive. Each view is represented by an
47     <code>AbstractView</code> object. Each view belongs to a <a
48 wakaba 1.39 href=#browsing-context>browsing context</a>. <a
49     href=#refsDOM2VIEWS>[DOM2VIEWS]</a>
50 apache 1.3 #ja
51     <dfn id=view>表示</dfn>は、何らかの媒体における <code>Document</code>
52     オブジェクトの表現のために用いられる、特定の媒体に紐付けされた利用者エージェント界面です。
53 apache 1.13 提示は対話的であっても[[MAY:構いません]]。各表示は <code>AbstractView</code>
54 apache 1.3 オブジェクトにより現れます。各表示は<a
55 wakaba 1.39 href=#browsing-context>閲覧文脈</a>に属します。 <a
56     href=#refsDOM2VIEWS>[DOM2VIEWS]</a>
57 apache 1.3
58     #en
59     The <code title="">document</code> attribute of an
60 wakaba 1.39 <code>AbstractView</code> object representing a <a href=#view>view</a>
61 apache 1.3 gives the <code>Document</code> object of the view's <a
62 wakaba 1.39 href=#browsing-context>browsing context</a>'s <a href=#active-document>active
63     document</a>. <a href=#refsDOM2VIEWS>[DOM2VIEWS]</a>
64 apache 1.3 #ja
65 wakaba 1.39 <a href=#view>表示</a>を表す
66 apache 1.3 <code>AbstractView</code> オブジェクトの <code title="">document</code>
67     属性は、その表示の<a
68 wakaba 1.39 href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>の
69 apache 1.3 <code>Document</code> オブジェクトを与えます。
70 wakaba 1.39 <a href=#refsDOM2VIEWS>[DOM2VIEWS]</a>
71 apache 1.3
72     #en
73     Events that use the <code>UIEvent</code> interface are
74 wakaba 1.39 related to a specific <a href=#view>view</a> (the view in which the
75 apache 1.3 event happened); the <code>AbstractView</code> of that view is given in
76     the event object's <code title="">view</code> attribute. <a
77 wakaba 1.39 href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
78 apache 1.3 #ja
79 wakaba 1.39 <code>UIEvent</code> 界面を用いる事象は特定の<a href=#view>表示</a>
80 apache 1.3 (事象が発生した表示) に関係付けられています。その表示の
81     <code>AbstractView</code> は事象オブジェクトの <code title="">view</code>
82     属性で与えられます。 <a
83 wakaba 1.39 href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
84 apache 1.3
85     #en
86     A typical Web browser has one obvious <a
87 wakaba 1.39 href=#view>view</a> per <a href=#browsing-context>browsing context</a>: the
88 apache 1.3 browser's window (screen media). If a page is printed, however, a second
89     view becomes evident, that of the print media. The two views always share
90     the same underlying <code>Document</code>, but they have a different
91     presentation of that document. A speech browser also establishes a
92     browsing context, one with a view in the speech media.
93     #ja
94 wakaba 1.39 一般的な Web ブラウザは<a href=#browsing-context>閲覧文脈</a>毎に1つの自明な<a
95     href=#view>表示</a>、つまりブラウザの窓 (画面媒体) を持っています。
96 apache 1.3 しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。
97     2つの表示は常に同じ元の <code>Document</code> を共有していますが、
98 apache 1.13 その文書の異なる提示を有しています。会話ブラウザも、
99 apache 1.3 会話媒体での表示を有する閲覧文脈を確立します。
100    
101     #en
102     A <code>Document</code> does not necessarily have a <a
103 wakaba 1.39 href=#browsing-context>browsing context</a> associated with it. In particular,
104 apache 1.3 data mining tools are likely to never instantiate browsing contexts.
105     #ja
106     <code>Document</code> は必ずしも<a
107 wakaba 1.39 href=#browsing-context>閲覧文脈</a>に関連付けられているとは限りません。
108 apache 1.3 特に、データ・マイニング・ツールは閲覧文脈を決して実現値化しないでしょう。
109    
110     #en
111 wakaba 1.39 The main <a href=#view>view</a> through which a user primarily
112 apache 1.40 interacts with a user agent is the <dfn id=default-view>default view</dfn>.
113 apache 1.3 #ja
114 apache 1.40 利用者が利用者エージェントと対話するために主に使用する<a href=#view>表示</a>が<dfn id=default-view>既定表示</dfn>です。
115 apache 1.3
116     #en
117 apache 1.40 The <a href=#default-view>default view</a> of a
118 apache 1.3 <code>Document</code> is given by the <code title="">defaultView</code>
119    
120     attribute on the <code>Document</code> object's <code>DocumentView</code>
121 wakaba 1.39 interface. <a href=#refsDOM3VIEWS>[DOM3VIEWS]</a>
122 apache 1.3 #ja
123 apache 1.40 <code>Document</code> の <a href=#default-view>既定表示</a>は
124 apache 1.3 <code>Document</code> オブジェクトの <code>DocumentView</code>
125     界面の <code title="">defaultView</code>
126 wakaba 1.39 属性により与えられます。 <a href=#refsDOM3VIEWS>[DOM3VIEWS]</a>
127 apache 1.3
128     #en
129 wakaba 1.39 When a <a href=#browsing-context>browsing context</a> is first created, it
130 apache 1.3 must be created with a single <code>Document</code> in its session
131     history, whose <span title="the document's address">address</span><!--
132     XXXDOCURL -->
133 wakaba 1.39 is <code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->,
134     which is marked as being an <a href=#html-documents title="HTML documents">HTML
135     document</a>, and whose <a href=#character-reference-in-attribute-value-state title="document's character
136 apache 1.15 encoding">character encoding</a> is UTF-8. The <code>Document</code> must
137 wakaba 1.39 have a single child <code><a href=#the-html-element>html</a></code> node, which
138     itself has a single child <code><a href=#the-body-element>body</a></code> node. If
139     the <a href=#browsing-context>browsing context</a> is created specifically to
140 apache 1.15 be immediately navigated, then that initial navigation will have <a
141 wakaba 1.39 href=#replacement-enabled>replacement enabled</a>.
142 apache 1.3 #ja
143 wakaba 1.39 <a href=#browsing-context>閲覧文脈</a>が最初に作成されたとき、
144 apache 1.3 閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が
145 wakaba 1.39 <code><a href=#about:blank>about:blank</a></code><!-- XXX xref --> で、 <a href=#html-documents title="HTML documents">HTML
146 apache 1.3 文書</a>として印付けされており、<a
147 wakaba 1.39 href=#character-encoding-requirements title="document's character encoding">文字符号化</a>が
148 apache 1.3 UTF-8 である <code>Document</code>
149     が1つある状態で作成されなければ[[MUST:なりません]]。この
150 wakaba 1.39 <code>Document</code> は <code><a href=#the-html-element>html</a></code>
151     節点1つだけを子供として持ち、その <code><a href=#the-html-element>html</a></code>
152     節点は <code><a href=#the-body-element>body</a></code> 節点だけを子供として持たなければ[[MUST:なりません]]。
153 apache 1.3 <a
154 wakaba 1.39 href=#browsing-context>閲覧文脈</a>が即座に操縦されるために特に作成された場合、
155 apache 1.3 その最初の操縦は<a
156 wakaba 1.39 href=#replacement-enabled>置換有効</a>で行われます。
157 apache 1.3
158     #en
159 wakaba 1.39 The <a href=#origin-0>origin</a> of the <code><a
160     href=#about:blank>about:blank</a></code> <code>Document</code> is set
161 apache 1.16 when the <code>Document</code> is created, in a manner dependent on
162 wakaba 1.39 whether the <a href=#browsing-context>browsing context</a> created is a <a
163     href=#nested-browsing-context>nested browsing context</a>, as follows:
164 apache 1.3 #ja
165 apache 1.16 <code><a
166 wakaba 1.39 href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起源</a>は、
167 apache 1.3 その <code>Document</code> が作成されるときに、作成された<a
168 wakaba 1.39 href=#browsing-context>閲覧文脈</a>が<a
169     href=#nested-browsing-context>入れ子閲覧文脈</a>であるかどうかにより、
170 apache 1.3 次のように設定されます:
171    
172     #en
173 wakaba 1.39 If the new <a href=#browsing-context>browsing context</a> is a <a
174     href=#nested-browsing-context>nested browsing context</a>
175 apache 1.3 #ja
176 wakaba 1.39 新しい<a href=#browsing-context>閲覧文脈</a>が<a
177     href=#nested-browsing-context>入れ子閲覧文脈</a>である場合
178 apache 1.3
179     #en
180 wakaba 1.39 The <a href=#origin-0>origin</a> of the <code><a
181     href=#about:blank>about:blank</a></code> <code>Document</code> is the <a
182     href=#origin-0>origin</a> of the <a href=#active-document>active document</a>
183     of the new <a href=#browsing-context>browsing context</a>'s <a
184     href=#parent-browsing-context>parent browsing context</a> at the time of its creation.
185 apache 1.3 #ja
186 apache 1.17 <code><a
187 wakaba 1.39 href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起源</a>は、
188 apache 1.3 新しい<a
189 wakaba 1.39 href=#browsing-context>閲覧文脈</a>の作成の時点でのその<a href=#parent-browsing-context>親閲覧文脈</a>の<a
190     href=#active-document>活性文書</a>の<a href=#origin-0>起源</a>です。
191 apache 1.3
192     #en
193 wakaba 1.39 If the new <a href=#browsing-context>browsing context</a> is an <a
194     href=#auxiliary-browsing-context>auxiliary browsing context</a>
195 apache 1.3 #ja
196 wakaba 1.39 新しい<a href=#browsing-context>閲覧文脈</a>が<a
197     href=#auxiliary-browsing-context>補助閲覧文脈</a>である場合
198 apache 1.3
199     #en
200 wakaba 1.39 The <a href=#origin-0>origin</a> of the <code><a
201     href=#about:blank>about:blank</a></code>
202     <code>Document</code> is the <a href=#origin-0>origin</a> of the <a
203     href=#active-document>active document</a> of the new <a
204     href=#browsing-context>browsing context</a>'s <a href=#opener-browsing-context>opener
205 apache 1.3 browsing context</a> at the time of the new browsing context's creation.
206     #ja
207 apache 1.17 <code><a
208 wakaba 1.39 href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起点</a>は、
209     新しい閲覧文脈の作成の時点でのその<a href=#opener-browsing-context>開き元閲覧文脈</a>の<a
210     href=#active-document>活性文書</a>の<a href=#origin-0>起点</a>です。
211 apache 1.3
212     #en
213     Otherwise
214     #ja
215     その他の場合
216    
217     #en
218 wakaba 1.39 The <a href=#origin-0>origin</a> of the <code><a
219     href=#about:blank>about:blank</a></code>
220 apache 1.3
221     <code>Document</code> is a globally unique identifier assigned when the
222 wakaba 1.39 new <a href=#browsing-context>browsing context</a> is created.
223 apache 1.3 #ja
224 apache 1.17 <code><a
225 wakaba 1.39 href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起点</a>は、
226     その新しい<a href=#browsing-context>閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。
227 apache 1.3
228     #pattern
229     <span class=secno>* </span>Nested browsing contexts
230     #ja
231     <span class=secno>$1 </span>入れ子の閲覧文脈
232    
233     #en
234 wakaba 1.39 Certain elements (for example, <code><a href=#the-iframe-element>iframe</a></code>
235     elements) can instantiate further <a href=#browsing-context title="browsing
236     context">browsing contexts</a>. These are called <dfn id=nested-browsing-context
237 apache 1.3 title="nested browsing context">nested browsing contexts</dfn>. If a
238 apache 1.18 browsing context <var title="">P</var> has an element <var
239     title="">E</var> in one of its <code>Document</code>s <var
240     title="">D</var> that nests another browsing context <var title="">C</var>
241     inside it, then <var title="">P</var> is said to be the <dfn
242 wakaba 1.39 id=parent-browsing-context>parent browsing context</dfn> of <var title="">C</var>, <var
243     title="">C</var> is said to be a <dfn id=child-browsing-context>child browsing
244 apache 1.18 context</dfn> of <var title="">P</var>, <var title="">C</var> is said to
245 wakaba 1.39 be <dfn id=browsing-context-nested-through title="browsing context nested through">nested
246 apache 1.18 through</dfn> <var title="">D</var>, and <var title="">E</var> is said to
247 wakaba 1.39 be the <dfn id=browsing-context-container>browsing context container</dfn> of <var
248 apache 1.18 title="">C</var>.
249 apache 1.3 #ja
250 wakaba 1.39 要素によっては (例えば <code><a href=#the-iframe-element>iframe</a></code>
251     要素は)、更に<a href=#browsing-context title="browsing
252     context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested-browsing-context
253 apache 1.3 title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。
254     閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ
255 apache 1.18 <var title="">D</var> 中に要素 <var
256     title="">E</var> を持っていて、その要素の内側に別の閲覧文脈 <var title="">C</var>
257 apache 1.3 を入れ子にしている場合、 <var title="">P</var> は <var
258 wakaba 1.39 title="">C</var> の<dfn id=parent-browsing-context>親閲覧文脈</dfn>であるといい、
259 apache 1.3 <var title="">C</var> は <var title="">P</var> の<dfn
260 wakaba 1.39 id=child-browsing-context>子閲覧文脈</dfn>であるといい、 <var
261     title="">C</var> は <var title="">D</var> を<dfn id=browsing-context-nested-through title="browsing context
262 apache 1.18 nested through">通じて入れ子である</dfn>といい、
263     <var title="">E</var> は <var
264 wakaba 1.39 title="">C</var> の<dfn id=browsing-context-container>閲覧文脈包含子</dfn>であるといいます。
265 apache 1.3
266     #en
267     A browsing context <var title="">A</var> is said to be an ancestor of a
268     browsing context <var title="">B</var> if there exists a browsing context
269 wakaba 1.39 <var title="">A'</var> that is a <a href=#child-browsing-context>child browsing
270 apache 1.3 context</a> of <var title="">A</var> and that is itself an ancestor of
271     <var title="">B</var>, or if there is a browsing context <var
272 wakaba 1.39 title="">P</var> that is a <a href=#child-browsing-context>child browsing context</a> of
273     <var title="">A</var> and that is the <a href=#parent-browsing-context>parent browsing
274 apache 1.3 context</a> of <var title="">B</var>.
275     #ja
276     閲覧文脈 <var title="">A</var> が閲覧文脈 <var title="">B</var>
277     の祖先であるというのは、 <var title="">A</var>
278 wakaba 1.39 の<a href=#child-browsing-context>子閲覧文脈</a>である閲覧文脈 <var title="">A'</var>
279 apache 1.3 が存在して、それ自体が <var title="">B</var> の祖先である場合、または閲覧文脈 <var
280     title="">P</var> があって、それが <var title="">A</var>
281 wakaba 1.39 の<a href=#child-browsing-context>子閲覧文脈</a>であり、かつ <var title="">B</var>
282     の<a href=#parent-browsing-context>親閲覧文脈</a>である場合です。
283 apache 1.3
284     #en
285 wakaba 1.39 The browsing context with no <a href=#parent-browsing-context>parent browsing
286     context</a> is the <dfn id=top-level-browsing-context>top-level browsing context</dfn> of
287     all the browsing contexts <a href=#nested-browsing-context title="nested browsing
288 apache 1.3 context">nested</a> within it (either directly or indirectly through other
289     nested browsing contexts).
290     #ja
291 wakaba 1.39 <a href=#parent-browsing-context>親閲覧文脈</a>のない閲覧文脈は、
292 apache 1.3 それに (直接的に、または他の入れ子閲覧文脈を通じて間接的に)
293 wakaba 1.39 <a href=#nested-browsing-context title="nested browsing
294     context">入れ子</a>になっている閲覧文脈すべての<dfn id=top-level-browsing-context>最上位閲覧文脈</dfn>です。
295 apache 1.3
296     #en
297 wakaba 1.39 The transitive closure of <a href=#parent-browsing-context title="parent browsing
298     context">parent browsing contexts</a> for a <a href=#nested-browsing-context>nested
299     browsing context</a> gives the list of <dfn id=ancestor-browsing-context title="ancestor
300 apache 1.3 browsing context">ancestor browsing contexts</dfn>.
301     #ja
302 wakaba 1.39 <a href=#nested-browsing-context>入れ子閲覧文脈</a>の<a href=#parent-browsing-context title="parent browsing
303     context">親閲覧文脈</a>の推移的閉包が<dfn id=ancestor-browsing-context title="ancestor
304 apache 1.3 browsing context">祖先閲覧文脈</dfn>の並びを与えます。
305    
306     #en
307 wakaba 1.39 A <code>Document</code> is said to be <dfn id=fully-active>fully active</dfn>
308     when it is the <a href=#active-document>active document</a> of its <a
309     href=#browsing-context>browsing context</a>, and either its browsing context is
310     a <a href=#top-level-browsing-context>top-level browsing context</a>, or the
311     <code>Document</code> <a href=#browsing-context-nested-through title="browsing context nested
312     through">through which</a> that browsing context is <a href=#nested-browsing-context
313 apache 1.3 title="nested browsing context">nested</a> is itself <a
314 wakaba 1.39 href=#fully-active>fully active</a>.
315 apache 1.3 #ja
316 wakaba 1.39 <code>Document</code> が<dfn id=fully-active>完全に活性</dfn>であるというのは、
317 apache 1.3 これがその<a
318 wakaba 1.39 href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>であり、かつその閲覧文脈が<a href=#top-level-browsing-context>最上位閲覧文脈</a>であるか、
319     またはその閲覧文脈がそれを<a href=#browsing-context-nested-through title="browsing context nested
320     through">通じて</a><a href=#nested-browsing-context
321 apache 1.3 title="nested browsing context">入れ子</a>になっているような
322     <code>Document</code> もそれ自体<a
323 wakaba 1.39 href=#fully-active>完全に活性</a>であることをいいます。
324 apache 1.3
325     #en
326 wakaba 1.39 Because they are nested through an element, <a href=#child-browsing-context
327 apache 1.3 title="child browsing context">child browsing contexts</a> are always tied
328 wakaba 1.39 to a specific <code>Document</code> in their <a href=#parent-browsing-context>parent
329 apache 1.3 browsing context</a>. User agents must not allow the user to interact with
330 wakaba 1.39 <a href=#child-browsing-context title="child browsing context">child browsing
331 apache 1.3 contexts</a> of elements that are in <code>Document</code>s that are not
332 wakaba 1.39 themselves <a href=#fully-active>fully active</a>.
333 apache 1.3 #ja
334 wakaba 1.39 <a href=#child-browsing-context
335 apache 1.3 title="child browsing context">子閲覧文脈</a>は、要素を通じて入れ子になっているため、
336 wakaba 1.39 常に<a href=#parent-browsing-context>親閲覧文脈</a>中の特定の <code>Document</code>
337     と紐付けされています。利用者エージェントは、<a href=#fully-active>完全に活性</a>でない
338     <code>Document</code> 中の要素の<a href=#child-browsing-context title="child browsing context">子閲覧文脈</a>に対して利用者が対話することを認めては[[MUST NOT:なりません]]。
339 apache 1.3
340     #en
341 wakaba 1.39 A <a href=#nested-browsing-context>nested browsing context</a> can have a <a
342     href=#seamless-browsing-context-flag>seamless browsing context flag</a> set, if it is
343     embedded through an <code><a href=#the-iframe-element>iframe</a></code> element with
344     a <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code>
345 apache 1.3 attribute.
346     #ja
347 wakaba 1.39 <a href=#nested-browsing-context>入れ子閲覧文脈</a>には、これが
348     <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code>
349     属性のある <code><a href=#the-iframe-element>iframe</a></code>
350 apache 1.3 要素を通じて埋め込まれている場合、<a
351 wakaba 1.39 href=#seamless-browsing-context-flag>継ぎ目なし閲覧文脈旗</a>が設定されることがあります。
352 apache 1.3
353     #pattern
354     <span class=secno>* </span>Auxiliary browsing contexts
355     #ja
356     <span class=secno>$1 </span>補助閲覧文脈
357    
358 apache 1.4 #en
359     It is possible to create new browsing contexts that are related to a
360     <span>top level browsing context</span> without being nested through an
361 wakaba 1.39 element. Such browsing contexts are called <dfn id=auxiliary-browsing-context
362 apache 1.4 title="auxiliary browsing context">auxiliary browsing contexts</dfn>.
363 wakaba 1.39 Auxiliary browsing contexts are always <a href=#top-level-browsing-context
364 apache 1.4 title="top-level browsing context">top-level browsing contexts</a>.
365     #ja
366     ある<span>最上位閲覧文脈</span>に関係する新しい閲覧文脈を、
367 wakaba 1.39 要素を通じて入れ子にせずに作成することができます。このような閲覧文脈を<dfn id=auxiliary-browsing-context
368 apache 1.4 title="auxiliary browsing context">補助閲覧文脈</dfn>と呼びます。
369 wakaba 1.39 補助閲覧文脈は常に<a href=#top-level-browsing-context
370 apache 1.4 title="top-level browsing context">最上位閲覧文脈</a>です。
371    
372     #en
373 wakaba 1.39 An <a href=#auxiliary-browsing-context>auxiliary browsing context</a> has an <dfn
374     id=opener-browsing-context>opener browsing context</dfn>, which is the <a
375     href=#browsing-context>browsing context</a> from which the <a
376     href=#auxiliary-browsing-context>auxiliary browsing context</a> was created, and it has
377     a <dfn id=furthest-ancestor-browsing-context>furthest ancestor browsing context</dfn>, which is the
378     <a href=#top-level-browsing-context>top-level browsing context</a> of the <a
379     href=#opener-browsing-context>opener browsing context</a> when the <a
380     href=#auxiliary-browsing-context>auxiliary browsing context</a> was created.
381     #ja
382     <a href=#auxiliary-browsing-context>補助閲覧文脈</a>は、<dfn
383     id=opener-browsing-context>開闢器閲覧文脈</dfn>を持ちます。これは、<a
384     href=#auxiliary-browsing-context>補助閲覧文脈</a>を作成した<a
385     href=#browsing-context>閲覧文脈</a>です。また、<dfn id=furthest-ancestor-browsing-context>最遠祖先閲覧文脈</dfn>も持ちます。
386 apache 1.4 これは、<a
387 wakaba 1.39 href=#auxiliary-browsing-context>補助閲覧文脈</a>が作成された時の<a
388     href=#opener-browsing-context>開闢器閲覧文脈</a>の<a href=#top-level-browsing-context>最上位閲覧文脈</a>です。
389 apache 1.4
390     #en
391 wakaba 1.39 The <dfn id=dom-opener title=dom-opener><code>opener</code></dfn> DOM
392     attribute on the <code><a href=#window>Window</a></code> object must
393     return the <code><a href=#window>Window</a></code> object of the <a
394     href=#browsing-context>browsing context</a> from which the current browsing
395     context was created (its <a href=#opener-browsing-context>opener browsing context</a>),
396 apache 1.4 if there is one and it is still available.
397     #ja
398 wakaba 1.39 <code><a href=#window>Window</a></code> オブジェクトの
399     <dfn id=dom-opener title=dom-opener><code>opener</code></dfn> DOM 属性は、
400 apache 1.4 現在の閲覧文脈が作成された<a
401 wakaba 1.39 href=#browsing-context>閲覧文脈</a> (<a href=#opener-browsing-context>開闢器閲覧文脈</a>)
402     の <code><a href=#window>Window</a></code>
403 apache 1.4 オブジェクトを、これがあって、まだ利用可能であれば、返さなければ[[MUST:なりません]]。
404    
405 apache 1.6 #pattern
406     <span class=secno>* </span>Secondary browsing contexts
407     #ja
408     <span class=secno>$1 </span>二次閲覧文脈
409    
410     #en
411 wakaba 1.39 User agents may support <dfn id=secondary-browsing-context title="secondary browsing
412     context">secondary browsing contexts</dfn>, which are <a href=#browsing-context
413 apache 1.6 title="browsing context">browsing contexts</a> that form part of the user
414     agent's interface, apart from the main content area.
415     #ja
416 wakaba 1.39 利用者エージェントは、<dfn id=secondary-browsing-context title="secondary browsing
417 apache 1.6 context">二次閲覧文脈</dfn>に対応しても[[MAY:構いません]]。これは、利用者エージェントの界面の一部を形成する、
418 wakaba 1.39 主たる内容領域とは別の<a href=#browsing-context
419 apache 1.6 title="browsing context">閲覧文脈</a>です。
420    
421 apache 1.7 #pattern
422     <span class=secno>* </span>Security
423     #ja
424     <span class=secno>$1 </span>保安性
425    
426     #en
427 wakaba 1.39 A <a href=#browsing-context>browsing context</a> <var title="">A</var> is
428     <dfn id=concept-input-step>allowed to navigate</dfn> a second <a
429     href=#browsing-context>browsing context</a> <var title="">B</var> if one of the
430 apache 1.7 following conditions is true:
431     #ja
432 wakaba 1.39 <a href=#browsing-context>閲覧文脈</a> <var title="">A</var> が2つ目の<a
433     href=#browsing-context>閲覧文脈</a> <var title="">B</var>
434     を<dfn id=concept-input-step>操縦することが認められている</dfn>のは、
435 apache 1.7 次の条件の1つが真である場合です。
436    
437     #en
438 wakaba 1.39 Either the <a href=#origin-0>origin</a> of the <a
439     href=#active-document>active document</a> of <var title="">A</var> is the <a
440     href=#same-origin title="same origin">same</a> as the <a
441     href=#origin-0>origin</a> of the <a href=#active-document>active document</a>
442 apache 1.7 of <var title="">B</var>, or
443     #ja
444     <var title="">A</var> の<a
445 wakaba 1.39 href=#active-document>活性文書</a>の<a href=#origin-0>起源</a>が
446     <var title="">B</var> の<a href=#active-document>活性文書</a>の<a
447     href=#origin-0>起源</a>と<a
448     href=#same-origin title="same origin">同じ</a>である
449 apache 1.7
450     #en
451 apache 1.25 The browsing context <var title="">A</var> is a <a
452 wakaba 1.39 href=#nested-browsing-context>nested browsing context</a> and its <a
453     href=#top-level-browsing-context>top-level browsing context</a> is <var
454 apache 1.25 title="">B</var>, or
455     #ja
456     閲覧文脈 <var title="">A</var> は<a
457 wakaba 1.39 href=#nested-browsing-context>入れ子閲覧文脈</a>であり、その<a
458     href=#top-level-browsing-context>最上位閲覧文脈</a>が <var
459 apache 1.25 title="">B</var> である
460    
461     #en
462 apache 1.7 The browsing context <var title="">B</var> is an <a
463 wakaba 1.39 href=#auxiliary-browsing-context>auxiliary browsing context</a> and <var
464     title="">A</var> is <a href=#concept-input-step>allowed to navigate</a> <var
465     title="">B</var>'s <a href=#opener-browsing-context>opener browsing context</a>, or
466 apache 1.7 #ja
467     閲覧文脈 <var title="">B</var> は<a
468 wakaba 1.39 href=#auxiliary-browsing-context>補助閲覧文脈</a>であり、かつ
469 apache 1.25 <var title="">A</var> が <var
470 wakaba 1.39 title="">B</var> の<a href=#opener-browsing-context>開闢器閲覧文脈</a>を<a href=#concept-input-step>操縦することが認められている</a>
471 apache 1.7
472     #en
473     The browsing context <var title="">B</var> is not a <a
474 wakaba 1.39 href=#top-level-browsing-context>top-level browsing context</a>, but there exists an <a
475     href=#ancestor-browsing-context>ancestor browsing context</a> of <var title="">B</var>
476     whose <a href=#active-document>active document</a> has the <a
477     href=#same-origin title="same origin">same</a> <a
478     href=#origin-0>origin</a> as the <a href=#active-document>active document</a>
479 apache 1.7 of <var title="">A</var> (possibly in fact being <var title="">A</var>
480     itself).
481     #ja
482     閲覧文脈 <var title="">B</var> は<a
483 wakaba 1.39 href=#top-level-browsing-context>最上位閲覧文脈</a>ではないが、 <var title="">B</var>
484 apache 1.7 の<a
485 wakaba 1.39 href=#ancestor-browsing-context>祖先閲覧文脈</a>に<a href=#active-document>活性文書</a>が
486     <var title="">A</var> の<a href=#active-document>活性文書</a>と<a
487     href=#same-origin title="same origin">同じ</a><a
488     href=#origin-0>起源</a>を持つものが存在する
489 apache 1.7 (実のところ <var title="">A</var> 自体であることもある)
490    
491 apache 1.8 #pattern
492     <span class=secno>* </span>Threads
493     #ja
494     <span class=secno>$1 </span>スレッド
495    
496     #en
497 wakaba 1.39 Each <a href=#browsing-context>browsing context</a> is defined as having a
498     list of zero or more <dfn id=directly-reachable-browsing-contexts>directly reachable browsing
499 apache 1.8 contexts</dfn>. These are:
500     #ja
501 wakaba 1.39 各<a href=#browsing-context>閲覧文脈</a>は、零以上の<dfn id=directly-reachable-browsing-contexts>直接到達可能閲覧文脈</dfn>の並びを持つと定義します。
502 apache 1.8 これは、次の閲覧文脈を含みます。
503    
504     #en
505 wakaba 1.39 All the <a href=#browsing-context>browsing context</a>'s <a href=#child-browsing-context
506 apache 1.8 title="child browsing context">child browsing contexts</a>.
507     #ja
508 wakaba 1.39 当該<a href=#browsing-context>閲覧文脈</a>の全ての<a href=#child-browsing-context
509 apache 1.8 title="child browsing context">子閲覧文脈</a>。
510    
511     #en
512 wakaba 1.39 The <a href=#browsing-context>browsing context</a>'s <a
513     href=#parent-browsing-context>parent browsing context</a>.
514 apache 1.8 #ja
515 wakaba 1.39 当該<a href=#browsing-context>閲覧文脈</a>の<a
516     href=#parent-browsing-context>親閲覧文脈</a>。
517 apache 1.8
518     #en
519 wakaba 1.39 All the <a href=#browsing-context title="browsing context">browsing
520     contexts</a> that have the <a href=#browsing-context>browsing context</a> as
521     their <a href=#opener-browsing-context>opener browsing context</a>.
522 apache 1.8 #ja
523 wakaba 1.39 当該<a href=#browsing-context>閲覧文脈</a>が<a href=#opener-browsing-context>開闢器閲覧文脈</a>であるすべての<a href=#browsing-context title="browsing context">閲覧文脈</a>。
524 apache 1.8
525     #en
526 wakaba 1.39 The <a href=#browsing-context>browsing context</a>'s <a
527     href=#opener-browsing-context>opener browsing context</a>.
528 apache 1.8 #ja
529 wakaba 1.39 当該<a href=#browsing-context>閲覧文脈</a>の<a href=#opener-browsing-context>開闢器閲覧文脈</a>。
530 apache 1.8
531     #en
532 wakaba 1.39 The transitive closure of all the <a href=#browsing-context title="browsing
533     context">browsing contexts</a> that are <a href=#directly-reachable-browsing-contexts>directly
534     reachable browsing contexts</a> forms a <dfn id=unit-of-related-browsing-contexts>unit of related
535 apache 1.8 browsing contexts</dfn>.
536     #ja
537 wakaba 1.39 <a href=#directly-reachable-browsing-contexts>直接到達可能閲覧文脈</a>である<a href=#browsing-context title="browsing
538     context">閲覧文脈</a>すべての推移的閉包は、<dfn id=unit-of-related-browsing-contexts>関連閲覧文脈の単位</dfn>を形成します。
539 apache 1.8
540     #en
541 wakaba 1.39 All the executable code in a <a href=#unit-of-related-browsing-contexts>unit of related browsing
542 apache 1.8 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 wakaba 1.39 must be serialized so that for each <a href=#unit-of-related-browsing-contexts>unit of related
546 apache 1.8 browsing contexts</a> there is only one script being executed at a time.
547     #ja
548 wakaba 1.39 <a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>内のすべての実行可能符号は、
549 apache 1.8 単一の概念的なスレッドで実行されなければ[[MUST:なりません]]。利用者エージェントが
550     (例えば利用者の作用やネットワーク活動への反応として) 発火する事象の発送やタイマーと関連付けられたスクリプトの実行は、
551 wakaba 1.39 <a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>毎に同時に1つのスクリプトだけが実行されるように直列化されなければ[[MUST:なりません]]。
552 apache 1.8
553 apache 1.9 #pattern
554     <span class=secno>* </span>Browsing context names
555     #ja
556     <span class=secno>$1 </span>閲覧文脈名
557    
558     #en
559 wakaba 1.39 Browsing contexts can have a <dfn id=browsing-context-container>browsing context
560 apache 1.9 name</dfn>. By default, a browsing context has no name (its name is not
561     set).
562     #ja
563 wakaba 1.39 閲覧文脈は、<dfn id=browsing-context-container>閲覧文脈名</dfn>を持つことができます。
564 apache 1.9 既定では、閲覧文脈は名前を持ちません (名前は設定されません)。
565    
566 apache 1.8
567    
568    
569    
570    
571 apache 1.7
572    
573 apache 1.6
574    
575 apache 1.4
576 apache 1.3
577    
578    
579    
580    
581     #en
582 wakaba 1.39 When an HTML document is to be loaded in a <a href=#browsing-context>browsing
583 apache 1.3 context</a>, the user agent must create a <code>Document</code> object,
584 wakaba 1.39 mark it as being an <a href=#html-documents title="HTML documents">HTML
585     document</a>, create an <a href=#html-parser>HTML parser</a>, associate it
586 apache 1.3 with the document, and begin to use the bytes provided for the document as
587 wakaba 1.39 the <a href=#the-input-element>input stream</a> for that parser.
588 apache 1.3 #ja
589 wakaba 1.39 HTML 文書が<a href=#browsing-context>閲覧文脈</a>に読み込まれるとき、
590 apache 1.3 利用者エージェントは、 <code>Document</code> オブジェクトを作成し、
591 wakaba 1.39 それに <a href=#html-documents title="HTML documents">HTML
592     文書</a>であるとの印を付け、<a href=#html-parser>HTML 構文解析器</a>を作成し、
593 apache 1.3 これをその文書と関連付け、
594 wakaba 1.39 その文書に対して提供されたバイト列を構文解析器の<a href=#the-input-element>入力ストリーム</a>として使い始めなければ[[MUST:なりません]]。
595 apache 1.3
596     #en
597 wakaba 1.39 The <a href=#the-input-element>input stream</a> converts bytes into
598 apache 1.3 characters for use in the <span>tokeniser</span><!-- XXX xref
599     -->. This
600     process relies, in part, on character encoding information found in the
601 wakaba 1.39 real <a href=#content-type-0 title=Content-Type>Content-Type metadata</a>
602 apache 1.3
603     of the resource; the "sniffed type" is not used for this purpose.
604     #ja
605 wakaba 1.39 <a href=#the-input-element>入力ストリーム</a>はバイト列を文字列に変換し、
606 apache 1.3 字句化器で使用できるようにします。この過程は、部分的に、
607 wakaba 1.39 資源の実際の <a href=#content-type-0 title=Content-Type>Content-Type
608 apache 1.3 メタデータ</a>に現れる文字符号化情報に依存しています。
609     ここでは「探知型」は使用しません。
610    
611     #en
612     When no more bytes are available, an EOF character is implied, which
613     eventually causes a <code title=event-load><a
614 wakaba 1.39 href=#event-load>load</a></code> event to be fired.
615 apache 1.3 #ja
616     それ以上のバイトが存在しなくなると、暗黙の EOF 文字の存在が仮定され、
617     それによって <code title=event-load><a
618 wakaba 1.39 href=#event-load>load</a></code> 事象が発火されることとなります。
619 apache 1.3
620     #en
621     After creating the <code>Document</code> object, but potentially before
622     the page has finished parsing, the user agent must <a
623 wakaba 1.39 href=#update-the-session-history-with-the-new-page>update the session history with the new page</a>.
624 apache 1.3 #ja
625     <code>Document</code> オブジェクトが作成された後に、
626     頁が構文解析を完了される前でも構いませんが、
627     利用者エージェントは、<a
628 wakaba 1.39 href=#update-the-session-history-with-the-new-page>新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
629 apache 1.3
630     #en
631 wakaba 1.39 <a href=#concept-appcache-init-with-attribute
632 apache 1.3 title=concept-appcache-init-with-attribute>Application cache selection</a>
633    
634 wakaba 1.39 happens <a href=#parser-appcache>in the HTML parser</a>.
635 apache 1.3 #ja
636 wakaba 1.39 <a href=#concept-appcache-init-with-attribute
637 apache 1.3 title=concept-appcache-init-with-attribute>アプリケーション・キャッシュの選択</a>が
638 wakaba 1.39 <a href=#parser-appcache>HTML 構文解析器の中</a>で起こります。
639 apache 1.3
640     #en
641     When faced with displaying an XML file inline, user agents must first
642     create a <code>Document</code> object, following the requirements of the
643     XML and Namespaces in XML recommendations, RFC 3023, DOM3 Core, and other
644 wakaba 1.39 relevant specifications. <a href=#refsXML>[XML]</a> <a
645     href=#refsXMLNS>[XMLNS]</a> <a href=#refsRFC3023>[RFC3023]</a> <a
646     href=#refsDOM3CORE>[DOM3CORE]</a>
647 apache 1.3 #ja
648     利用者エージェントは、 XML ファイルを行内で表示することになったとき、
649     まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、
650 apache 1.11 RFC 3023、DOM3 中核、その他関連する仕様書に従って作成しなければ[[MUST:なりません]]。
651 wakaba 1.39 <a href=#refsXML>[XML]</a> <a
652     href=#refsXMLNS>[XMLNS]</a> <a href=#refsRFC3023>[RFC3023]</a> <a
653     href=#refsDOM3CORE>[DOM3CORE]</a>
654 apache 1.3
655     #en
656     The actual HTTP headers and other metadata, not the headers as mutated
657     or implied by the algorithms given in this specification, are the ones
658     that must be used when determining the character encoding according to the
659     rules given in the above specifications. Once the character encoding is
660 wakaba 1.39 established, the <a href=#character-encoding-requirements>document's character encoding</a>
661 apache 1.3 must be set to that character encoding.
662     #ja
663     実際の HTTP 頭部その他のメタデータが、
664     前述の仕様書群で示された規則に従い文字符号化を決定する際には使用しなければ[[MUST:ならない]]ものです
665     (この仕様書に示した算法により変異した、あるいは暗示される頭部ではありません)。
666    
667     #en
668     If the root element, as parsed according to the XML specifications cited
669 wakaba 1.39 above, is found to be an <code><a href=#the-html-element>html</a></code> element
670 apache 1.3 with an attribute <code title=attr-html-manifest><a
671 wakaba 1.39 href=#attr-html-manifest>manifest</a></code>, then, as soon as the element is
672     inserted into the DOM, the user agent must run the <a href=#concept-appcache-init-with-attribute
673 apache 1.3 title=concept-appcache-init-with-attribute>application cache selection
674     algorithm</a> with the value of that attribute, resolved relative to the
675 wakaba 1.39 <a href=#dom-form-elements>element's base URI</a>, as the manifest URI.
676 apache 1.3 Otherwise, as soon as the root element is inserted into the DOM, the user
677 wakaba 1.39 agent must run the <a href=#concept-appcache-init-no-attribute
678 apache 1.3 title=concept-appcache-init-no-attribute>application cache selection
679     algorithm</a> with no manifest.
680     #ja
681 wakaba 1.39 利用者エージェントは、前述の XML 仕様書群に従い構文解析された根要素が <code><a href=#the-html-element>html</a></code>
682 apache 1.3 要素であって <code title=attr-html-manifest><a
683 wakaba 1.39 href=#attr-html-manifest>manifest</a></code> 属性を持つものであることが判明した場合、
684     その要素が DOM に挿入されると同時に、<a href=#concept-appcache-init-with-attribute
685     title=concept-appcache-init-with-attribute>アプリケーション・キャッシュ選択算法</a>を、その属性の値を<a href=#dom-form-elements>要素の基底
686 apache 1.3 URI</a> に対して解決したものをマニフェスト URI
687     として実行しなければ[[MUST:なりません]]。そうでない場合、
688     利用者エージェントは、根要素が DOM に挿入されると同時に、
689 wakaba 1.39 <a href=#concept-appcache-init-no-attribute
690 apache 1.3 title=concept-appcache-init-no-attribute>アプリケーション・キャッシュ選択算法</a>をマニフェストなしで実行しなければ[[MUST:なりません]]。
691    
692     #en
693     Because the processing of the <code
694 wakaba 1.39 title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute
695 apache 1.3 happens only once the root element is parsed, any URIs referenced by
696     processing instructions before the root element (such as <code
697     title="">&lt;?xml-styleesheet?></code> and <code
698     title="">&lt;?xbl?></code> PIs) will be fetched from the network and
699     cannot be cached.
700     #ja
701     <code
702 wakaba 1.39 title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code>
703 apache 1.3 属性の処理は根要素が構文解析されてはじめて行われますから、
704 apache 1.10 根要素の前に現れる処理指令 (例えば <code
705     title="">&lt;?xml-styleesheet?></code> や <code
706     title="">&lt;?xbl?></code> 処理指令) が参照する URI
707     はネットワークから取って来られることになり、キャッシュできません。
708 apache 1.3
709     #en
710     User agents may examine the namespace of the root <code>Element</code>
711     node of this <code>Document</code> object to perform namespace-based
712     dispatch to alternative processing tools, e.g. determining that the
713     content is actually a syndication feed and passing it to a feed handler.
714     If such processing is to take place, abort the steps in this section, and
715 wakaba 1.39 jump to <a href=#navigate-non-Document>step 10</a> in the <a
716     href=#navigate>navigate</a> steps above.
717 apache 1.3 #ja
718     利用者エージェントは、この <code>Document</code>
719     オブジェクトの根 <code>Element</code>
720     ノードを検査し、名前空間を基にした代替処理ツールを呼び出しても[[MAY:構いません]]
721     (例えば、内容が実際には配給フィードであると判定し、
722     これをフィード取扱器に渡しても構いません)。このような処理が行われる場合は、
723     この節の段階を中断し、前述の<a
724 wakaba 1.39 href=#navigate>操縦</a>段階の<a href=#navigate-non-Document>段階
725 apache 1.3 10</a> に飛びます。
726    
727     #en
728     Otherwise, then, with the newly created <code>Document</code>, the user
729 wakaba 1.39 agents must <a href=#update-the-session-history-with-the-new-page>update the session history with the new
730 apache 1.3 page</a>. User agents may do this before the complete document has been
731     parsed (thus achieving <i>incremental rendering</i>).
732     #ja
733     そうでない場合には、利用者エージェントは、新たに作成された
734     <code>Document</code> によって、
735 wakaba 1.39 <a href=#update-the-session-history-with-the-new-page>新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
736 apache 1.3 利用者エージェントは、これを文書全体が構文解析される前に行って
737 wakaba 1.12 (<i>逐次的レンダリング</i>を実現して) も[[MAY:構いません]]。
738 apache 1.3
739     #en
740     Error messages from the parse process (e.g. namespace well-formedness
741     errors) may be reported inline by mutating the <code>Document</code>.
742     #ja
743     構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り)
744 apache 1.37 は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。
745    
746     #en
747 wakaba 1.39 Browsing contexts can have a <dfn id=browsing-context-name>browsing context
748 apache 1.26 name</dfn>. By default, a browsing context has no name (its name is not
749 apache 1.37 set).
750     #ja
751 wakaba 1.39 閲覧文脈は<dfn id=browsing-context-name>閲覧文脈名</dfn>を持つことができます。
752 apache 1.37 既定では閲覧文脈は名前を持ちません (名前は設定されません)。
753    
754     #en
755 wakaba 1.39 A <dfn id=valid-month-string>valid browsing context name</dfn> is any string with at
756 apache 1.27 least one character that does not start with a U+005F LOW LINE character.
757 apache 1.37 (Names starting with an underscore are reserved for special keywords.)
758     #ja
759 wakaba 1.39 <dfn id=valid-month-string>妥当な閲覧文脈名</dfn>は、最低1文字を含み、
760 apache 1.27 U+005F LOW LINE からはじまらない文字列です。
761 apache 1.37 (下線からはじまる文字列は特別なキーワードに予約されています。)
762    
763     #en
764 wakaba 1.39 A <dfn id=valid-week-string>valid browsing context name or keyword</dfn> is any
765     string that is either a <a href=#valid-month-string>valid browsing context name</a>
766     or that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one
767 apache 1.28 of: <code title="">_blank</code>, <code title="">_self</code>, <code
768 apache 1.37 title="">_parent</code>, or <code title="">_top</code>.
769     #ja
770 wakaba 1.39 <dfn id=valid-week-string>妥当な閲覧文脈の名前かキーワード</dfn>は、
771     <a href=#valid-month-string>妥当な閲覧文脈名</a>であるか、または
772     <a href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で
773 apache 1.28 <code title="">_blank</code>、<code title="">_self</code>、<code
774     title="">_parent</code>、<code title="">_top</code>
775 apache 1.37 のいずれかと一致するかのどちらかである文字列です。
776    
777     #en
778 wakaba 1.39 <dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>The rules for choosing a browsing context given a
779 apache 1.29 browsing context name</dfn> are as follows. The rules assume that they are
780 wakaba 1.39 being applied in the context of a <a href=#browsing-context>browsing
781 apache 1.37 context</a>.
782     #ja
783 wakaba 1.39 <dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</dfn>は次の通りです。
784     この規則はある<a href=#browsing-context>閲覧文脈</a>の文脈において適用されることを想定しています。
785 apache 1.37
786     #en
787 apache 1.30 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 apache 1.37 current one.
790     #ja
791 apache 1.30 与えられた閲覧文脈名が空文字列であるか、<code
792 apache 1.37 title="">_self</code> である場合、選ばれる閲覧文脈は現在のものでなければ[[MUST:なりません]]。
793    
794     #en
795 apache 1.31 If the given browsing context name is <code title="">_parent</code>,
796     then the chosen browsing context must be the <a
797 wakaba 1.39 href=#parent-browsing-context><em>parent</em> browsing context</a> of the current one,
798 apache 1.31 unless there isn't one, in which case the chosen browsing context must
799 apache 1.37 be the current browsing context.
800     #ja
801 apache 1.31 与えられた閲覧文脈名が <code title="">_parent</code> である場合、
802     選ばれる閲覧文脈は現在の閲覧文脈の<a
803 wakaba 1.39 href=#parent-browsing-context><em>親</em>閲覧文脈</a>があればそれでなければ[[MUST:ならず]]、
804 apache 1.37 なければ現在の閲覧文脈でなければ[[MUST:なりません]]。
805    
806     #en
807 apache 1.32 If the given browsing context name is <code title="">_top</code>, then
808     the chosen browsing context must be the most <a
809 wakaba 1.39 href=#top-level-browsing-context>top-level browsing context</a> of the current one.
810 apache 1.37 #ja
811 apache 1.32 与えられた閲覧文脈名が <code title="">_top</code> である場合、
812     選ばれる閲覧文脈は現在の閲覧文脈の一番<a
813 wakaba 1.39 href=#top-level-browsing-context>最上位閲覧文脈</a>でなければ[[MUST:なりません]]。
814 apache 1.37
815     #en
816 apache 1.33 If the given browsing context name is not <code title="">_blank</code>
817 wakaba 1.39 and there exists a browsing context whose <a href=#browsing-context-name
818 apache 1.33 title="browsing context name">name</a> is the same as the given browsing
819     context name, and the current browsing context is <a
820 wakaba 1.39 href=#concept-input-step>allowed to navigate</a> that browsing context, and the
821 apache 1.33 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 apache 1.37 related.
827     #ja
828 apache 1.33 与えられた閲覧文脈名が <code title="">_blank</code>
829 wakaba 1.39 ではなく、<a href=#browsing-context-name
830 apache 1.33 title="browsing context name">名前</a>が与えられた閲覧文脈名と同じである閲覧文脈が存在する場合で、
831     現在の閲覧文脈がその閲覧文脈を<a
832 wakaba 1.39 href=#concept-input-step>操縦することが認められており</a>、
833 apache 1.33 利用者エージェントが2つの閲覧文脈は十分関係しているので互いに到達してもよいと判断した場合、
834     選ばれる閲覧文脈はその閲覧文脈でなければ[[MUST:なりません]]。
835     一致する閲覧文脈が複数ある場合、利用者エージェントは何らかの一貫した方法、
836     例えば最も新しく開かれたもの、最も新しく焦点を当てられたもの、
837 apache 1.37 最もよく関係しているものといった方法で1つを選ぶ[[SHOULD:べきです]]。
838    
839     #en
840 apache 1.34 Otherwise, a new browsing context is being requested, and what happens
841 apache 1.37 depends on the user agent's configuration and/or abilities:
842     #ja
843 apache 1.38 それ以外の場合、新しい閲覧文脈が要求されており、
844 apache 1.37 利用者エージェントの設定や能力、あるいはその両方によって動作が決まります。
845    
846     #en
847 apache 1.35 If the current browsing context has the <a
848 wakaba 1.39 href=#sandboxed-navigation-browsing-context-flag>sandboxed navigation browsing context flag</a> set.
849 apache 1.37 #ja
850 apache 1.35 現在の閲覧文脈が<a
851 wakaba 1.39 href=#sandboxed-navigation-browsing-context-flag>砂箱化操縦閲覧文脈旗</a>を設定されている場合。
852 apache 1.37
853     #en
854 apache 1.36 The user agent may offer to create a new <a
855 wakaba 1.39 href=#top-level-browsing-context>top-level browsing context</a> or reuse an existing
856     <a href=#top-level-browsing-context>top-level browsing context</a>. If the user picks
857 apache 1.36 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 apache 1.37 used) there must not be a chosen browsing context.
862     #ja
863 apache 1.36 利用者エージェントは新しい<a
864 wakaba 1.39 href=#top-level-browsing-context>最上位閲覧文脈</a>を作成することや既存の<a href=#top-level-browsing-context>最上位閲覧文脈</a>を再利用することを提示して[[MAY:構いません]]。
865 apache 1.36 利用者エージェントがこれらの選択肢の1つを選んだ場合、
866     指定された閲覧文脈を選ばれた閲覧文脈としなければ[[MUST:なりません]]
867     (閲覧文脈名は与えられた閲覧文脈名に設定しません)。
868     そうでない場合 (利用者エージェントが利用者に選択肢を提示しない場合、
869     あるいは利用者が閲覧文脈を使うことを認めないことにした場合)、
870     どの閲覧文脈も選んでは[[MUST NOT:なりません]]。
871 apache 1.37
872     #en
873 wakaba 1.39 The <dfn id=dom-top 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=#browsing-context>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-browsing-context>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-browsing-context>top-level browsing context</a> itself).
880 apache 1.37 #ja
881     <a
882 wakaba 1.39 href=#browsing-context>閲覧文脈</a> <var title="">b</var> の
883     <code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-top title=dom-top><code>top</code></dfn> DOM
884 apache 1.37 属性は、その<a
885 wakaba 1.39 href=#top-level-browsing-context>最上位閲覧文脈</a>の
886     <code><a href=#window>Window</a></code>
887 apache 1.37 オブジェクト (その閲覧文脈自体が<a
888 wakaba 1.39 href=#top-level-browsing-context>最上位閲覧文脈</a>の場合、
889     その <code><a href=#window>Window</a></code>
890 apache 1.37 オブジェクト自体) を返さなければ[[MUST:なりません]]。
891    
892    
893     #en
894 wakaba 1.39 The <dfn id=dom-parent 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=#browsing-context>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-browsing-context>parent browsing context</a>, if there is one (i.e. if <var
899     title="">b</var> is a <a href=#child-browsing-context>child browsing context</a>), or the
900     <code><a href=#window>Window</a></code> object of the <a
901     href=#browsing-context>browsing context</a> <var title="">b</var> itself,
902     otherwise (i.e. if it is a <a href=#top-level-browsing-context>top-level browsing
903 apache 1.37 context</a>).
904     #ja
905     <a
906 wakaba 1.39 href=#browsing-context>閲覧文脈</a> <var title="">b</var> の
907     <code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-parent title=dom-parent><code>parent</code></dfn> DOM
908 apache 1.37 属性は、その<a
909 wakaba 1.39 href=#parent-browsing-context>親閲覧文脈</a>があれば
910 apache 1.37 (つまり <var
911 wakaba 1.39 title="">b</var> が<a href=#child-browsing-context>子閲覧文脈</a>である場合) その<a
912     href=#parent-browsing-context>親閲覧文脈</a>の
913     <code><a href=#window>Window</a></code>
914     オブジェクトを、そうでない場合 (つまりそれ自体が<a href=#top-level-browsing-context>最上位閲覧文脈</a>の場合)
915 apache 1.37 <a
916 wakaba 1.39 href=#browsing-context>閲覧文脈</a> <var title="">b</var>
917     自体の <code><a href=#window>Window</a></code> オブジェクトを返さなければ[[MUST:なりません]]。
918 apache 1.37
919     #en
920 wakaba 1.39 The <dfn id=dom-frameelement
921 apache 1.37 title=dom-frameElement><code>frameElement</code></dfn> DOM attribute on
922 wakaba 1.39 the <code><a href=#window>Window</a></code> object of a <a
923     href=#browsing-context>browsing context</a> <var title="">b</var>, on getting,
924 apache 1.37 must run the following algorithm:
925     #ja
926     <a
927 wakaba 1.39 href=#browsing-context>閲覧文脈</a> <var title="">b</var> の
928     <code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-frameelement
929 apache 1.37 title=dom-frameElement><code>frameElement</code></dfn> DOM
930     属性は、取得時、次の算法を走らせなければ[[MUST:なりません]]。
931    
932     #en
933 wakaba 1.39 If <var title="">b</var> is not a <a href=#child-browsing-context>child browsing
934 apache 1.37 context</a>, return null and abort these steps.
935     #ja
936 wakaba 1.39 <var title="">b</var> が<a href=#child-browsing-context>子閲覧文脈</a>でない場合、
937 apache 1.37 null を返し、これらの段階を停止します。
938    
939     #en
940 wakaba 1.39 If the <a href=#parent-browsing-context>parent browsing context</a>'s <a
941     href=#active-document>active document</a> does not have the <span>same</span>
942 apache 1.37 <span>effective origin</span> as the script that is accessing the <code
943 wakaba 1.39 title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code>
944     attribute, then throw a <a href=#security-exception>security exception</a>.
945 apache 1.37 #ja
946 wakaba 1.39 <a href=#parent-browsing-context>親閲覧文脈</a>の<a
947     href=#active-document>活性文書</a>が <code
948     title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code>
949     属性にアクセスしているスクリプトと<span>同じ</span><span>実効起源</span>を持たない場合、<a href=#security-exception>保安性例外</a>を投げます。
950 apache 1.37
951     #en
952 wakaba 1.39 Otherwise, return the <a href=#browsing-context-container>browsing context
953 apache 1.37 container</a> for <var title="">b</var>.
954     #ja
955 wakaba 1.39 そうでない場合、 <var title="">b</var> の<a href=#browsing-context-container>閲覧文脈包含子</a>を返します。

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24