/[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.2 - (hide annotations) (download)
Sat Jun 28 06:13:21 2008 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.1: +2 -2 lines
*** empty log message ***

1 wakaba 1.1 #en
2     This section describes features that apply most directly to Web
3     browsers. Having said that, unless specified elsewhere, the requirements
4     defined in this section <em>do</em> apply to all user agents, whether they
5     are Web browsers or not.
6     #ja
7     この章では、 Web ブラウザに最も直接的に適用される機能を説明します。
8     とはいっても、この章で述べる要件は、
9     特に断らない限り、 Web ブラウザであるか否かを問わずすべての利用者エージェントに適用<em>されます</em>。
10    
11     #en
12     A <dfn id=browsing1>browsing context</dfn> is a collection of one or
13     more <code>Document</code> objects, and one or more <a href="#view"
14     title=view>views</a>.
15     #ja
16     <dfn id=browsing1>閲覧文脈</dfn>は1つ以上の <code>Document</code>
17     オブジェクトと1つ以上の<a href="#view"
18     title=view>表示</a>の集成です。
19    
20     #en
21     At any one time, one of the <code>Document</code>s in a <a
22     href="#browsing1">browsing context</a> is the <dfn id=active>active
23     document</dfn>. The collection of <code>Document</code>s is the <a
24     href="#browsing1">browsing context</a>'s <a href="#session">session
25     history</a>.
26     #ja
27     いかなる時点においても、ある <a
28     href="#browsing1">閲覧文脈</a>の中の <code>Document</code>
29     の1つは<dfn id=active>活性文書</dfn>です。
30     <code>Document</code> の集成は<a
31     href="#browsing1">閲覧文脈</a>の<a href="#session">セッション履歴</a>です。
32    
33     #en
34     A <dfn id=view>view</dfn> is a user agent interface tied to a particular
35     media used for the presentation of <code>Document</code> objects in some
36     media. A view may be interactive. Each view is represented by an
37     <code>AbstractView</code> object. Each view belongs to a <a
38     href="#browsing1">browsing context</a>. <a
39     href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
40     #ja
41     <dfn id=view>表示</dfn>は、何らかの媒体における <code>Document</code>
42     オブジェクトの表現のために用いられる、特定の媒体に紐付けされた利用者エージェント界面です。
43     表示は対話的であっても[[MAY:構いません]]。各表示は <code>AbstractView</code>
44     オブジェクトにより現れます。各表示は<a
45     href="#browsing1">閲覧文脈</a>に属します。 <a
46     href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
47    
48     #en
49     The <code title="">document</code> attribute of an
50     <code>AbstractView</code> object representing a <a href="#view">view</a>
51     gives the <code>Document</code> object of the view's <a
52     href="#browsing1">browsing context</a>'s <a href="#active">active
53     document</a>. <a href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
54     #ja
55     <a href="#view">表示</a>を表す
56     <code>AbstractView</code> オブジェクトの <code title="">document</code>
57     属性は、その表示の<a
58     href="#browsing1">閲覧文脈</a>の<a href="#active">活性文書</a>の
59     <code>Document</code> オブジェクトを与えます。
60     <a href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
61    
62     #en
63     Events that use the <code>UIEvent</code> interface are
64     related to a specific <a href="#view">view</a> (the view in which the
65     event happened); the <code>AbstractView</code> of that view is given in
66     the event object's <code title="">view</code> attribute. <a
67     href="#refsDOM3EVENTS">[DOM3EVENTS]</a>
68     #ja
69     <code>UIEvent</code> 界面を用いる事象は特定の<a href="#view">表示</a>
70     (事象が発生した表示) に関係付けられています。その表示の
71     <code>AbstractView</code> は事象オブジェクトの <code title="">view</code>
72     属性で与えられます。 <a
73     href="#refsDOM3EVENTS">[DOM3EVENTS]</a>
74    
75     #en
76     A typical Web browser has one obvious <a
77     href="#view">view</a> per <a href="#browsing1">browsing context</a>: the
78     browser's window (screen media). If a page is printed, however, a second
79     view becomes evident, that of the print media. The two views always share
80     the same underlying <code>Document</code>, but they have a different
81     presentation of that document. A speech browser also establishes a
82     browsing context, one with a view in the speech media.
83     #ja
84     一般的な Web ブラウザは<a href="#browsing1">閲覧文脈</a>毎に1つの自明な<a
85     href="#view">表示</a>、つまりブラウザの窓 (画面媒体) を持っています。
86     しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。
87     2つの表示は常に同じ元の <code>Document</code> を共有していますが、
88     その文書の異なる表現を有しています。会話ブラウザも、
89     会話媒体での表示を有する閲覧文脈を確立します。
90    
91     #en
92     A <code>Document</code> does not necessarily have a <a
93     href="#browsing1">browsing context</a> associated with it. In particular,
94     data mining tools are likely to never instantiate browsing contexts.
95     #ja
96     <code>Document</code> は必ずしも<a
97     href="#browsing1">閲覧文脈</a>に関連付けられているとは限りません。
98     特に、データ・マイニング・ツールは閲覧文脈を決して実現値化しないでしょう。
99    
100     #en
101     The main <a href="#view">view</a> through which a user primarily
102     interacts with a user agent is the <dfn id=default3>default view</dfn>.
103     #ja
104     利用者が利用者エージェントと対話するために主に使用する<a href="#view">表示</a>が<dfn id=default3>既定表示</dfn>です。
105    
106     #en
107     The <a href="#default3">default view</a> of a
108     <code>Document</code> is given by the <code title="">defaultView</code>
109    
110     attribute on the <code>Document</code> object's <code>DocumentView</code>
111     interface. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
112     #ja
113     <code>Document</code> の <a href="#default3">既定表示</a>は
114     <code>Document</code> オブジェクトの <code>DocumentView</code>
115     界面の <code title="">defaultView</code>
116     属性により与えられます。 <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
117    
118     #en
119     When a <a href="#browsing1">browsing context</a> is first created, it
120     must be created with a single <code>Document</code> in its session
121     history, whose <span title="the document's address">address</span><!--
122     XXXDOCURL -->
123    
124     is <code>about:blank</code><!-- XXX xref -->, which is marked as being an
125     <a href="#html-" title="HTML documents">HTML document</a>, and whose <a
126     href="#character1" title="document's character encoding">character
127     encoding</a> is UTF-8. The <code>Document</code> must have a single child
128     <code><a href="#html">html</a></code> node, which itself has a single
129     child <code><a href="#body0">body</a></code> node. If the <a
130     href="#browsing1">browsing context</a> is created specifically to be
131     immediately navigated, then that initial navigation will have <a
132     href="#replacement">replacement enabled</a>.
133     #ja
134     <a href="#browsing1">閲覧文脈</a>が最初に作成されたとき、
135     閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が
136     <code>about:blank</code> で、 <a href="#html-" title="HTML documents">HTML
137     文書</a>として印付けされており、<a
138     href="#character1" title="document's character encoding">文字符号化</a>が
139     UTF-8 である <code>Document</code>
140     が1つある状態で作成されなければ[[MUST:なりません]]。この
141     <code>Document</code> は <code><a href="#html">html</a></code>
142     節点1つだけを子供として持ち、その <code><a href="#html">html</a></code>
143     節点は <code><a href="#body0">body</a></code> 節点だけを子供として持たなければ[[MUST:なりません]]。
144     <a
145     href="#browsing1">閲覧文脈</a>が即座に操縦されるために特に作成された場合、
146     その最初の操縦は<a
147     href="#replacement">置換有効</a>で行われます。
148    
149     #en
150     The <a href="#origin0">origin</a> of the
151     <code>about:blank</code> <code>Document</code> is set when the
152     <code>Document</code> is created, in a manner dependent on whether the <a
153     href="#browsing1">browsing context</a> created is a <a
154     href="#nested0">nested browsing context</a>, as follows:
155     #ja
156     <code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、
157     その <code>Document</code> が作成されるときに、作成された<a
158     href="#browsing1">閲覧文脈</a>が<a
159     href="#nested0">入れ子閲覧文脈</a>であるかどうかにより、
160     次のように設定されます:
161    
162     #en
163     If the new <a href="#browsing1">browsing context</a> is a <a
164     href="#nested0">nested browsing context</a>
165     #ja
166     新しい<a href="#browsing1">閲覧文脈</a>が<a
167     href="#nested0">入れ子閲覧文脈</a>である場合
168    
169     #en
170     The <a href="#origin0">origin</a> of the <code>about:blank</code>
171     <code>Document</code> is the <a href="#origin0">origin</a> of the <a
172     href="#active">active document</a> of the new <a
173     href="#browsing1">browsing context</a>'s <a href="#parent">parent
174     browsing context</a> at the time of its creation.
175     #ja
176     <code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、
177     新しい<a
178     href="#browsing1">閲覧文脈</a>の作成の時点でのその<a href="#parent">親閲覧文脈</a>の<a
179     href="#active">活性文書</a>の<a href="#origin0">起源</a>です。
180    
181     #en
182     If the new <a href="#browsing1">browsing context</a> is an <a
183     href="#auxiliary0">auxiliary browsing context</a>
184     #ja
185     新しい<a href="#browsing1">閲覧文脈</a>が<a
186     href="#auxiliary0">補助閲覧文脈</a>である場合
187    
188     #en
189     The <a href="#origin0">origin</a> of the <code>about:blank</code>
190     <code>Document</code> is the <a href="#origin0">origin</a> of the <a
191     href="#active">active document</a> of the new <a
192     href="#browsing1">browsing context</a>'s <a href="#opener">opener
193     browsing context</a> at the time of the new browsing context's creation.
194     #ja
195     <code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、
196     新しい閲覧文脈の作成の時点でのその<a href="#opener">開き元閲覧文脈</a>の<a
197     href="#active">活性文書</a>の<a href="#origin0">起点</a>です。
198    
199     #en
200     Otherwise
201     #ja
202     その他の場合
203    
204     #en
205     The <a href="#origin0">origin</a> of the <code>about:blank</code>
206    
207     <code>Document</code> is a globally unique identifier assigned when the
208     new <a href="#browsing1">browsing context</a> is created.
209     #ja
210     <code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、
211     その新しい<a href="#browsing1">閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。
212    
213    
214    
215    
216     #en
217     When an HTML document is to be loaded in a <a href="#browsing1">browsing
218     context</a>, the user agent must create a <code>Document</code> object,
219     mark it as being an <a href="#html-" title="HTML documents">HTML
220     document</a>, create an <a href="#html-0">HTML parser</a>, associate it
221     with the document, and begin to use the bytes provided for the document as
222     the <a href="#input0">input stream</a> for that parser.
223     #ja
224     HTML 文書が<a href="#browsing1">閲覧文脈</a>に読み込まれるとき、
225     利用者エージェントは、 <code>Document</code> オブジェクトを作成し、
226     それに <a href="#html-" title="HTML documents">HTML
227     文書</a>であるとの印を付け、<a href="#html-0">HTML 構文解析器</a>を作成し、
228     これをその文書と関連付け、
229     その文書に対して提供されたバイト列を構文解析器の<a href="#input0">入力ストリーム</a>として使い始めなければ[[MUST:なりません]]。
230    
231     #en
232     The <a href="#input0">input stream</a> converts bytes into
233     characters for use in the <span>tokeniser</span><!-- XXX xref
234     -->. This
235     process relies, in part, on character encoding information found in the
236     real <a href="#content-type5" title=Content-Type>Content-Type metadata</a>
237    
238     of the resource; the "sniffed type" is not used for this purpose.
239     #ja
240     <a href="#input0">入力ストリーム</a>はバイト列を文字列に変換し、
241     字句化器で使用できるようにします。この過程は、部分的に、
242     資源の実際の <a href="#content-type5" title=Content-Type>Content-Type
243     メタデータ</a>に現れる文字符号化情報に依存しています。
244     ここでは「探知型」は使用しません。
245    
246     #en
247     When no more bytes are available, an EOF character is implied, which
248     eventually causes a <code title=event-load><a
249     href="#load0">load</a></code> event to be fired.
250     #ja
251     それ以上のバイトが存在しなくなると、暗黙の EOF 文字の存在が仮定され、
252     それによって <code title=event-load><a
253     href="#load0">load</a></code> 事象が発火されることとなります。
254    
255     #en
256     After creating the <code>Document</code> object, but potentially before
257     the page has finished parsing, the user agent must <a
258     href="#update2">update the session history with the new page</a>.
259     #ja
260     <code>Document</code> オブジェクトが作成された後に、
261     頁が構文解析を完了される前でも構いませんが、
262     利用者エージェントは、<a
263     href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
264    
265     #en
266     <a href="#application2"
267     title=concept-appcache-init-with-attribute>Application cache selection</a>
268    
269     happens <a href="#parser-appcache">in the HTML parser</a>.
270     #ja
271     <a href="#application2"
272     title=concept-appcache-init-with-attribute>アプリケーション・キャッシュの選択</a>が
273     <a href="#parser-appcache">HTML 構文解析器の中</a>で起こります。
274    
275     #en
276     When faced with displaying an XML file inline, user agents must first
277     create a <code>Document</code> object, following the requirements of the
278     XML and Namespaces in XML recommendations, RFC 3023, DOM3 Core, and other
279     relevant specifications. <a href="#refsXML">[XML]</a> <a
280     href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a
281     href="#refsDOM3CORE">[DOM3CORE]</a>
282     #ja
283     利用者エージェントは、 XML ファイルを行内で表示することになったとき、
284     まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、
285     RFC 3023、DOM3 中核、その他関連仕様に従って作成しなければ[[MUST:なりません]]。
286     <a href="#refsXML">[XML]</a> <a
287     href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a
288     href="#refsDOM3CORE">[DOM3CORE]</a>
289    
290     #en
291     The actual HTTP headers and other metadata, not the headers as mutated
292     or implied by the algorithms given in this specification, are the ones
293     that must be used when determining the character encoding according to the
294     rules given in the above specifications. Once the character encoding is
295     established, the <a href="#character1">document's character encoding</a>
296     must be set to that character encoding.
297     #ja
298     実際の HTTP 頭部その他のメタデータが、
299     前述の仕様書群で示された規則に従い文字符号化を決定する際には使用しなければ[[MUST:ならない]]ものです
300     (この仕様書に示した算法により変異した、あるいは暗示される頭部ではありません)。
301    
302     #en
303     If the root element, as parsed according to the XML specifications cited
304     above, is found to be an <code><a href="#html">html</a></code> element
305     with an attribute <code title=attr-html-manifest><a
306     href="#manifest">manifest</a></code>, then, as soon as the element is
307     inserted into the DOM, the user agent must run the <a href="#application2"
308     title=concept-appcache-init-with-attribute>application cache selection
309     algorithm</a> with the value of that attribute, resolved relative to the
310     <a href="#elements3">element's base URI</a>, as the manifest URI.
311     Otherwise, as soon as the root element is inserted into the DOM, the user
312     agent must run the <a href="#application3"
313     title=concept-appcache-init-no-attribute>application cache selection
314     algorithm</a> with no manifest.
315     #ja
316     利用者エージェントは、前述の XML 仕様書群に従い構文解析された根要素が <code><a href="#html">html</a></code>
317     要素であって <code title=attr-html-manifest><a
318     href="#manifest">manifest</a></code> 属性を持つものであることが判明した場合、
319     その要素が DOM に挿入されると同時に、<a href="#application2"
320     title=concept-appcache-init-with-attribute>アプリケーション・キャッシュ選択算法</a>を、その属性の値を<a href="#elements3">要素の基底
321     URI</a> に対して解決したものをマニフェスト URI
322     として実行しなければ[[MUST:なりません]]。そうでない場合、
323     利用者エージェントは、根要素が DOM に挿入されると同時に、
324     <a href="#application3"
325     title=concept-appcache-init-no-attribute>アプリケーション・キャッシュ選択算法</a>をマニフェストなしで実行しなければ[[MUST:なりません]]。
326    
327     #en
328     Because the processing of the <code
329     title=attr-html-manifest><a href="#manifest">manifest</a></code> attribute
330     happens only once the root element is parsed, any URIs referenced by
331     processing instructions before the root element (such as <code
332     title="">&lt;?xml-styleesheet?></code> and <code
333     title="">&lt;?xbl?></code> PIs) will be fetched from the network and
334     cannot be cached.
335     #ja
336     <code
337     title=attr-html-manifest><a href="#manifest">manifest</a></code>
338     属性の処理は根要素が構文解析されてはじめて行われますから、
339     根要素の前に現れる処理指令 (例えば処理指令 <code
340     title="">&lt;?xml-styleesheet?></code> や <code
341     title="">&lt;?xbl?></code>) が参照する URI はネットワークから取得され、
342     キャッシュすることができません。
343    
344     #en
345     User agents may examine the namespace of the root <code>Element</code>
346     node of this <code>Document</code> object to perform namespace-based
347     dispatch to alternative processing tools, e.g. determining that the
348     content is actually a syndication feed and passing it to a feed handler.
349     If such processing is to take place, abort the steps in this section, and
350     jump to <a href="#navigate-non-Document">step 10</a> in the <a
351     href="#navigate">navigate</a> steps above.
352     #ja
353     利用者エージェントは、この <code>Document</code>
354     オブジェクトの根 <code>Element</code>
355     ノードを検査し、名前空間を基にした代替処理ツールを呼び出しても[[MAY:構いません]]
356     (例えば、内容が実際には配給フィードであると判定し、
357     これをフィード取扱器に渡しても構いません)。このような処理が行われる場合は、
358 wakaba 1.2 この節の段階を中断し、前述の<a
359     href="#navigate">操縦</a>段階の<a href="#navigate-non-Document">段階
360 wakaba 1.1 10</a> に飛びます。
361    
362     #en
363     Otherwise, then, with the newly created <code>Document</code>, the user
364     agents must <a href="#update2">update the session history with the new
365     page</a>. User agents may do this before the complete document has been
366     parsed (thus achieving <i>incremental rendering</i>).
367     #ja
368     そうでない場合には、利用者エージェントは、新たに作成された
369     <code>Document</code> によって、
370     <a href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
371     利用者エージェントは、これを文書全体が構文解析される前に行って
372     (<i>逐次レンダリング</i>を実現して) も[[MAY:構いません]]。
373    
374     #en
375     Error messages from the parse process (e.g. namespace well-formedness
376     errors) may be reported inline by mutating the <code>Document</code>.
377     #ja
378     構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り)
379     は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24