| 19 |
<span class=secno>$1 </span>閲覧文脈 |
<span class=secno>$1 </span>閲覧文脈 |
| 20 |
|
|
| 21 |
#en |
#en |
| 22 |
A <dfn id=browsing1>browsing context</dfn> is a collection of one or |
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" |
more <code>Document</code> objects, and one or more <a href=#view |
| 24 |
title=view>views</a>. |
title=view>views</a>. |
| 25 |
#ja |
#ja |
| 26 |
<dfn id=browsing1>閲覧文脈</dfn>は1つ以上の <code>Document</code> |
<dfn id=browsing-context>閲覧文脈</dfn>は1つ以上の <code>Document</code> |
| 27 |
オブジェクトと1つ以上の<a href="#view" |
オブジェクトと1つ以上の<a href=#view |
| 28 |
title=view>表示</a>の集成です。 |
title=view>表示</a>の集成です。 |
| 29 |
|
|
| 30 |
#en |
#en |
| 31 |
At any one time, one of the <code>Document</code>s in a <a |
At any one time, one of the <code>Document</code>s in a <a |
| 32 |
href="#browsing1">browsing context</a> is the <dfn id=active>active |
href=#browsing-context>browsing context</a> is the <dfn id=active-document>active |
| 33 |
document</dfn>. The collection of <code>Document</code>s is the <a |
document</dfn>. The collection of <code>Document</code>s is the <a |
| 34 |
href="#browsing1">browsing context</a>'s <a href="#session">session |
href=#browsing-context>browsing context</a>'s <a href=#session-history>session |
| 35 |
history</a>. |
history</a>. |
| 36 |
#ja |
#ja |
| 37 |
いかなる時点においても、ある <a |
いかなる時点においても、ある <a |
| 38 |
href="#browsing1">閲覧文脈</a>の中の <code>Document</code> |
href=#browsing-context>閲覧文脈</a>の中の <code>Document</code> |
| 39 |
の1つは<dfn id=active>活性文書</dfn>です。 |
の1つは<dfn id=active-document>活性文書</dfn>です。 |
| 40 |
<code>Document</code> の集成は<a |
<code>Document</code> の集成は<a |
| 41 |
href="#browsing1">閲覧文脈</a>の<a href="#session">セッション履歴</a>です。 |
href=#browsing-context>閲覧文脈</a>の<a href=#session-history>セッション履歴</a>です。 |
| 42 |
|
|
| 43 |
#en |
#en |
| 44 |
A <dfn id=view>view</dfn> is a user agent interface tied to a particular |
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 |
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 |
media. A view may be interactive. Each view is represented by an |
| 47 |
<code>AbstractView</code> object. Each view belongs to a <a |
<code>AbstractView</code> object. Each view belongs to a <a |
| 48 |
href="#browsing1">browsing context</a>. <a |
href=#browsing-context>browsing context</a>. <a |
| 49 |
href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
href=#refsDOM2VIEWS>[DOM2VIEWS]</a> |
| 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=#browsing-context>閲覧文脈</a>に属します。 <a |
| 56 |
href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
href=#refsDOM2VIEWS>[DOM2VIEWS]</a> |
| 57 |
|
|
| 58 |
#en |
#en |
| 59 |
The <code title="">document</code> attribute of an |
The <code title="">document</code> attribute of an |
| 60 |
<code>AbstractView</code> object representing a <a href="#view">view</a> |
<code>AbstractView</code> object representing a <a href=#view>view</a> |
| 61 |
gives the <code>Document</code> object of the view's <a |
gives the <code>Document</code> object of the view's <a |
| 62 |
href="#browsing1">browsing context</a>'s <a href="#active">active |
href=#browsing-context>browsing context</a>'s <a href=#active-document>active |
| 63 |
document</a>. <a href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
document</a>. <a href=#refsDOM2VIEWS>[DOM2VIEWS]</a> |
| 64 |
#ja |
#ja |
| 65 |
<a href="#view">表示</a>を表す |
<a href=#view>表示</a>を表す |
| 66 |
<code>AbstractView</code> オブジェクトの <code title="">document</code> |
<code>AbstractView</code> オブジェクトの <code title="">document</code> |
| 67 |
属性は、その表示の<a |
属性は、その表示の<a |
| 68 |
href="#browsing1">閲覧文脈</a>の<a href="#active">活性文書</a>の |
href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>の |
| 69 |
<code>Document</code> オブジェクトを与えます。 |
<code>Document</code> オブジェクトを与えます。 |
| 70 |
<a href="#refsDOM2VIEWS">[DOM2VIEWS]</a> |
<a href=#refsDOM2VIEWS>[DOM2VIEWS]</a> |
| 71 |
|
|
| 72 |
#en |
#en |
| 73 |
Events that use the <code>UIEvent</code> interface are |
Events that use the <code>UIEvent</code> interface are |
| 74 |
related to a specific <a href="#view">view</a> (the view in which the |
related to a specific <a href=#view>view</a> (the view in which the |
| 75 |
event happened); the <code>AbstractView</code> of that view is given in |
event happened); the <code>AbstractView</code> of that view is given in |
| 76 |
the event object's <code title="">view</code> attribute. <a |
the event object's <code title="">view</code> attribute. <a |
| 77 |
href="#refsDOM3EVENTS">[DOM3EVENTS]</a> |
href=#refsDOM3EVENTS>[DOM3EVENTS]</a> |
| 78 |
#ja |
#ja |
| 79 |
<code>UIEvent</code> 界面を用いる事象は特定の<a href="#view">表示</a> |
<code>UIEvent</code> 界面を用いる事象は特定の<a href=#view>表示</a> |
| 80 |
(事象が発生した表示) に関係付けられています。その表示の |
(事象が発生した表示) に関係付けられています。その表示の |
| 81 |
<code>AbstractView</code> は事象オブジェクトの <code title="">view</code> |
<code>AbstractView</code> は事象オブジェクトの <code title="">view</code> |
| 82 |
属性で与えられます。 <a |
属性で与えられます。 <a |
| 83 |
href="#refsDOM3EVENTS">[DOM3EVENTS]</a> |
href=#refsDOM3EVENTS>[DOM3EVENTS]</a> |
| 84 |
|
|
| 85 |
#en |
#en |
| 86 |
A typical Web browser has one obvious <a |
A typical Web browser has one obvious <a |
| 87 |
href="#view">view</a> per <a href="#browsing1">browsing context</a>: the |
href=#view>view</a> per <a href=#browsing-context>browsing context</a>: the |
| 88 |
browser's window (screen media). If a page is printed, however, a second |
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 |
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 |
the same underlying <code>Document</code>, but they have a different |
| 91 |
presentation of that document. A speech browser also establishes a |
presentation of that document. A speech browser also establishes a |
| 92 |
browsing context, one with a view in the speech media. |
browsing context, one with a view in the speech media. |
| 93 |
#ja |
#ja |
| 94 |
一般的な Web ブラウザは<a href="#browsing1">閲覧文脈</a>毎に1つの自明な<a |
一般的な Web ブラウザは<a href=#browsing-context>閲覧文脈</a>毎に1つの自明な<a |
| 95 |
href="#view">表示</a>、つまりブラウザの窓 (画面媒体) を持っています。 |
href=#view>表示</a>、つまりブラウザの窓 (画面媒体) を持っています。 |
| 96 |
しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。 |
しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。 |
| 97 |
2つの表示は常に同じ元の <code>Document</code> を共有していますが、 |
2つの表示は常に同じ元の <code>Document</code> を共有していますが、 |
| 98 |
その文書の異なる提示を有しています。会話ブラウザも、 |
その文書の異なる提示を有しています。会話ブラウザも、 |
| 100 |
|
|
| 101 |
#en |
#en |
| 102 |
A <code>Document</code> does not necessarily have a <a |
A <code>Document</code> does not necessarily have a <a |
| 103 |
href="#browsing1">browsing context</a> associated with it. In particular, |
href=#browsing-context>browsing context</a> associated with it. In particular, |
| 104 |
data mining tools are likely to never instantiate browsing contexts. |
data mining tools are likely to never instantiate browsing contexts. |
| 105 |
#ja |
#ja |
| 106 |
<code>Document</code> は必ずしも<a |
<code>Document</code> は必ずしも<a |
| 107 |
href="#browsing1">閲覧文脈</a>に関連付けられているとは限りません。 |
href=#browsing-context>閲覧文脈</a>に関連付けられているとは限りません。 |
| 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=default4>default view</dfn>. |
interacts with a user agent is the <dfn id=default-view>default view</dfn>. |
| 113 |
#ja |
#ja |
| 114 |
利用者が利用者エージェントと対話するために主に使用する<a href="#view">表示</a>が<dfn id=default4>既定表示</dfn>です。 |
利用者が利用者エージェントと対話するために主に使用する<a href=#view>表示</a>が<dfn id=default-view>既定表示</dfn>です。 |
| 115 |
|
|
| 116 |
#en |
#en |
| 117 |
The <a href="#default4">default view</a> of a |
The <a href=#default-view>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="#default4">既定表示</a>は |
<code>Document</code> の <a href=#default-view>既定表示</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=#browsing-context>browsing context</a> is first created, it must be |
| 130 |
must be created with a single <code>Document</code> in its session |
created with a single <code>Document</code> in its session history, |
| 131 |
history, whose <span title="the document's address">address</span><!-- |
whose <span title="the document's address">address</span><!-- |
| 132 |
XXXDOCURL --> |
XXXDOCURL --> is <code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->, which is |
| 133 |
is <code><a href="#aboutblank">about:blank</a></code><!-- XXX xref -->, |
marked as being an <a href=#html-documents title="HTML documents">HTML |
| 134 |
which is marked as being an <a href="#html-" title="HTML documents">HTML |
document</a>, and whose <a href="#document's-character-encoding" title="document's character |
| 135 |
document</a>, and whose <a href="#character3" title="document's character |
encoding">character encoding</a> is UTF-8. The |
| 136 |
encoding">character encoding</a> is UTF-8. The <code>Document</code> must |
<code>Document</code> must have a single child <code><a href=#the-html-element>html</a></code> |
| 137 |
have a single child <code><a href="#html">html</a></code> node, which |
node, which itself has a single child <code><a href=#the-body-element>body</a></code> node. If the |
| 138 |
itself has a single child <code><a href="#body0">body</a></code> node. If |
<a href=#browsing-context>browsing context</a> is created specifically to be |
| 139 |
the <a href="#browsing1">browsing context</a> is created specifically to |
immediately navigated, then that initial navigation will have |
| 140 |
be immediately navigated, then that initial navigation will have <a |
<a href=#replacement-enabled>replacement enabled</a>. |
|
href="#replacement">replacement enabled</a>. |
|
| 141 |
#ja |
#ja |
| 142 |
<a href="#browsing1">閲覧文脈</a>が最初に作成されたとき、 |
<a href=#browsing-context>閲覧文脈</a>が最初に作成されたとき、 |
| 143 |
閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が |
閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が |
| 144 |
<code><a href="#aboutblank">about:blank</a></code><!-- XXX xref --> で、 <a href="#html-" title="HTML documents">HTML |
<code><a href=#about:blank>about:blank</a></code><!-- XXX xref --> で、 <a href=#html-documents title="HTML documents">HTML |
| 145 |
文書</a>として印付けされており、<a |
文書</a>として印付けされており、<a href="#document's-character-encoding" title="document's character |
| 146 |
href="#character1" title="document's character encoding">文字符号化</a>が |
encoding">文字符号化</a>が |
| 147 |
UTF-8 である <code>Document</code> |
UTF-8 である <code>Document</code> |
| 148 |
が1つある状態で作成されなければ[[MUST:なりません]]。この |
が1つある状態で作成されなければ[[MUST:なりません]]。この |
| 149 |
<code>Document</code> は <code><a href="#html">html</a></code> |
<code>Document</code> は <code><a href=#the-html-element>html</a></code> |
| 150 |
節点1つだけを子供として持ち、その <code><a href="#html">html</a></code> |
節点1つだけを子供として持ち、その <code><a href=#the-html-element>html</a></code> |
| 151 |
節点は <code><a href="#body0">body</a></code> 節点だけを子供として持たなければ[[MUST:なりません]]。 |
節点は <code><a href=#the-body-element>body</a></code> 節点だけを子供として持たなければ[[MUST:なりません]]。 |
| 152 |
<a |
<a |
| 153 |
href="#browsing1">閲覧文脈</a>が即座に操縦されるために特に作成された場合、 |
href=#browsing-context>閲覧文脈</a>が即座に操縦されるために特に作成された場合、 |
| 154 |
その最初の操縦は<a |
その最初の操縦は<a |
| 155 |
href="#replacement">置換有効</a>で行われます。 |
href=#replacement-enabled>置換有効</a>で行われます。 |
| 156 |
|
|
| 157 |
#en |
#en |
| 158 |
The <a href="#origin0">origin</a> of the |
The <a href=#origin-0>origin</a> of the <code><a |
| 159 |
<code>about:blank</code> <code>Document</code> is set when the |
href=#about:blank>about:blank</a></code> <code>Document</code> is set |
| 160 |
<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 |
| 161 |
href="#browsing1">browsing context</a> created is a <a |
whether the <a href=#browsing-context>browsing context</a> created is a <a |
| 162 |
href="#nested0">nested browsing context</a>, as follows: |
href=#nested-browsing-context>nested browsing context</a>, as follows: |
| 163 |
#ja |
#ja |
| 164 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
<code><a |
| 165 |
|
href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起源</a>は、 |
| 166 |
その <code>Document</code> が作成されるときに、作成された<a |
その <code>Document</code> が作成されるときに、作成された<a |
| 167 |
href="#browsing1">閲覧文脈</a>が<a |
href=#browsing-context>閲覧文脈</a>が<a |
| 168 |
href="#nested0">入れ子閲覧文脈</a>であるかどうかにより、 |
href=#nested-browsing-context>入れ子閲覧文脈</a>であるかどうかにより、 |
| 169 |
次のように設定されます: |
次のように設定されます: |
| 170 |
|
|
| 171 |
#en |
#en |
| 172 |
If the new <a href="#browsing1">browsing context</a> is a <a |
If the new <a href=#browsing-context>browsing context</a> is a <a |
| 173 |
href="#nested0">nested browsing context</a> |
href=#nested-browsing-context>nested browsing context</a> |
| 174 |
#ja |
#ja |
| 175 |
新しい<a href="#browsing1">閲覧文脈</a>が<a |
新しい<a href=#browsing-context>閲覧文脈</a>が<a |
| 176 |
href="#nested0">入れ子閲覧文脈</a>である場合 |
href=#nested-browsing-context>入れ子閲覧文脈</a>である場合 |
| 177 |
|
|
| 178 |
#en |
#en |
| 179 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href=#origin-0>origin</a> of the <code><a |
| 180 |
<code>Document</code> is the <a href="#origin0">origin</a> of the <a |
href=#about:blank>about:blank</a></code> <code>Document</code> is the <a |
| 181 |
href="#active">active document</a> of the new <a |
href=#origin-0>origin</a> of the <a href=#active-document>active document</a> |
| 182 |
href="#browsing1">browsing context</a>'s <a href="#parent">parent |
of the new <a href=#browsing-context>browsing context</a>'s <a |
| 183 |
browsing context</a> at the time of its creation. |
href=#parent-browsing-context>parent browsing context</a> at the time of its creation. |
| 184 |
#ja |
#ja |
| 185 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、 |
<code><a |
| 186 |
|
href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起源</a>は、 |
| 187 |
新しい<a |
新しい<a |
| 188 |
href="#browsing1">閲覧文脈</a>の作成の時点でのその<a href="#parent">親閲覧文脈</a>の<a |
href=#browsing-context>閲覧文脈</a>の作成の時点でのその<a href=#parent-browsing-context>親閲覧文脈</a>の<a |
| 189 |
href="#active">活性文書</a>の<a href="#origin0">起源</a>です。 |
href=#active-document>活性文書</a>の<a href=#origin-0>起源</a>です。 |
| 190 |
|
|
| 191 |
#en |
#en |
| 192 |
If the new <a href="#browsing1">browsing context</a> is an <a |
If the new <a href=#browsing-context>browsing context</a> is an <a |
| 193 |
href="#auxiliary0">auxiliary browsing context</a> |
href=#auxiliary-browsing-context>auxiliary browsing context</a> |
| 194 |
#ja |
#ja |
| 195 |
新しい<a href="#browsing1">閲覧文脈</a>が<a |
新しい<a href=#browsing-context>閲覧文脈</a>が<a |
| 196 |
href="#auxiliary0">補助閲覧文脈</a>である場合 |
href=#auxiliary-browsing-context>補助閲覧文脈</a>である場合 |
| 197 |
|
|
| 198 |
#en |
#en |
| 199 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href=#origin-0>origin</a> of the <code><a |
| 200 |
<code>Document</code> is the <a href="#origin0">origin</a> of the <a |
href=#about:blank>about:blank</a></code> |
| 201 |
href="#active">active document</a> of the new <a |
<code>Document</code> is the <a href=#origin-0>origin</a> of the <a |
| 202 |
href="#browsing1">browsing context</a>'s <a href="#opener">opener |
href=#active-document>active document</a> of the new <a |
| 203 |
|
href=#browsing-context>browsing context</a>'s <a href=#opener-browsing-context>opener |
| 204 |
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. |
| 205 |
#ja |
#ja |
| 206 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
<code><a |
| 207 |
新しい閲覧文脈の作成の時点でのその<a href="#opener">開き元閲覧文脈</a>の<a |
href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起点</a>は、 |
| 208 |
href="#active">活性文書</a>の<a href="#origin0">起点</a>です。 |
新しい閲覧文脈の作成の時点でのその<a href=#opener-browsing-context>開き元閲覧文脈</a>の<a |
| 209 |
|
href=#active-document>活性文書</a>の<a href=#origin-0>起点</a>です。 |
| 210 |
|
|
| 211 |
#en |
#en |
| 212 |
Otherwise |
Otherwise |
| 214 |
その他の場合 |
その他の場合 |
| 215 |
|
|
| 216 |
#en |
#en |
| 217 |
The <a href="#origin0">origin</a> of the <code>about:blank</code> |
The <a href=#origin-0>origin</a> of the <code><a |
| 218 |
|
href=#about:blank>about:blank</a></code> |
| 219 |
|
|
| 220 |
<code>Document</code> is a globally unique identifier assigned when the |
<code>Document</code> is a globally unique identifier assigned when the |
| 221 |
new <a href="#browsing1">browsing context</a> is created. |
new <a href=#browsing-context>browsing context</a> is created. |
| 222 |
#ja |
#ja |
| 223 |
<code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、 |
<code><a |
| 224 |
その新しい<a href="#browsing1">閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。 |
href=#about:blank>about:blank</a></code> <code>Document</code> の<a href=#origin-0>起点</a>は、 |
| 225 |
|
その新しい<a href=#browsing-context>閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。 |
| 226 |
|
|
| 227 |
#pattern |
#pattern |
| 228 |
<span class=secno>* </span>Nested browsing contexts |
<span class=secno>* </span>Nested browsing contexts |
| 230 |
<span class=secno>$1 </span>入れ子の閲覧文脈 |
<span class=secno>$1 </span>入れ子の閲覧文脈 |
| 231 |
|
|
| 232 |
#en |
#en |
| 233 |
Certain elements (for example, <code><a href="#iframe">iframe</a></code> |
Certain elements (for example, <code><a href=#the-iframe-element>iframe</a></code> |
| 234 |
elements) can instantiate further <a href="#browsing1" title="browsing |
elements) can instantiate further <a href=#browsing-context title="browsing |
| 235 |
context">browsing contexts</a>. These are called <dfn id=nested0 |
context">browsing contexts</a>. These are called <dfn id=nested-browsing-context |
| 236 |
title="nested browsing context">nested browsing contexts</dfn>. If a |
title="nested browsing context">nested browsing contexts</dfn>. If a |
| 237 |
browsing context <var title="">P</var> has an element in one of its |
browsing context <var title="">P</var> has an element <var |
| 238 |
<code>Document</code>s <var title="">D</var> that nests another browsing |
title="">E</var> in one of its <code>Document</code>s <var |
| 239 |
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> |
| 240 |
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 |
| 241 |
title="">C</var>, <var title="">C</var> is said to be a <dfn |
id=parent-browsing-context>parent browsing context</dfn> of <var title="">C</var>, <var |
| 242 |
id=child>child browsing context</dfn> of <var title="">P</var>, and <var |
title="">C</var> is said to be a <dfn id=child-browsing-context>child browsing |
| 243 |
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 |
| 244 |
nested through">nested through</dfn> <var title="">D</var>. |
be <dfn id=browsing-context-nested-through title="browsing context nested through">nested |
| 245 |
#ja |
through</dfn> <var title="">D</var>, and <var title="">E</var> is said to |
| 246 |
要素によっては (例えば <code><a href="#iframe">iframe</a></code> |
be the <dfn id=browsing-context-container>browsing context container</dfn> of <var |
| 247 |
要素は)、更に<a href="#browsing1" title="browsing |
title="">C</var>. |
| 248 |
context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested0 |
#ja |
| 249 |
|
要素によっては (例えば <code><a href=#the-iframe-element>iframe</a></code> |
| 250 |
|
要素は)、更に<a href=#browsing-context title="browsing |
| 251 |
|
context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested-browsing-context |
| 252 |
title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。 |
title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。 |
| 253 |
閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ |
閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ |
| 254 |
<var title="">D</var> 中の要素であって、その内側に別の閲覧文脈 <var title="">C</var> |
<var title="">D</var> 中に要素 <var |
| 255 |
|
title="">E</var> を持っていて、その要素の内側に別の閲覧文脈 <var title="">C</var> |
| 256 |
を入れ子にしている場合、 <var title="">P</var> は <var |
を入れ子にしている場合、 <var title="">P</var> は <var |
| 257 |
title="">C</var> の<dfn id=parent>親閲覧文脈</dfn>であるといい、 |
title="">C</var> の<dfn id=parent-browsing-context>親閲覧文脈</dfn>であるといい、 |
| 258 |
<var title="">C</var> は <var title="">P</var> の<dfn |
<var title="">C</var> は <var title="">P</var> の<dfn |
| 259 |
id=child>子閲覧文脈</dfn>であるといい、 <var |
id=child-browsing-context>子閲覧文脈</dfn>であるといい、 <var |
| 260 |
title="">C</var> は <var title="">D</var> を<dfn id=nested1 title="browsing context |
title="">C</var> は <var title="">D</var> を<dfn id=browsing-context-nested-through title="browsing context |
| 261 |
nested through">通じて入れ子である</dfn>といいます。 |
nested through">通じて入れ子である</dfn>といい、 |
| 262 |
|
<var title="">E</var> は <var |
| 263 |
|
title="">C</var> の<dfn id=browsing-context-container>閲覧文脈包含子</dfn>であるといいます。 |
| 264 |
|
|
| 265 |
#en |
#en |
| 266 |
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 |
| 267 |
browsing context <var title="">B</var> if there exists a browsing context |
browsing context <var title="">B</var> if there exists a browsing context |
| 268 |
<var title="">A'</var> that is a <a href="#child">child browsing |
<var title="">A'</var> that is a <a href=#child-browsing-context>child browsing |
| 269 |
context</a> of <var title="">A</var> and that is itself an ancestor of |
context</a> of <var title="">A</var> and that is itself an ancestor of |
| 270 |
<var title="">B</var>, or if there is a browsing context <var |
<var title="">B</var>, or if there is a browsing context <var |
| 271 |
title="">P</var> that is a <a href="#child">child browsing context</a> of |
title="">P</var> that is a <a href=#child-browsing-context>child browsing context</a> of |
| 272 |
<var title="">A</var> and that is the <a href="#parent">parent browsing |
<var title="">A</var> and that is the <a href=#parent-browsing-context>parent browsing |
| 273 |
context</a> of <var title="">B</var>. |
context</a> of <var title="">B</var>. |
| 274 |
#ja |
#ja |
| 275 |
閲覧文脈 <var title="">A</var> が閲覧文脈 <var title="">B</var> |
閲覧文脈 <var title="">A</var> が閲覧文脈 <var title="">B</var> |
| 276 |
の祖先であるというのは、 <var title="">A</var> |
の祖先であるというのは、 <var title="">A</var> |
| 277 |
の<a href="#child">子閲覧文脈</a>である閲覧文脈 <var title="">A'</var> |
の<a href=#child-browsing-context>子閲覧文脈</a>である閲覧文脈 <var title="">A'</var> |
| 278 |
が存在して、それ自体が <var title="">B</var> の祖先である場合、または閲覧文脈 <var |
が存在して、それ自体が <var title="">B</var> の祖先である場合、または閲覧文脈 <var |
| 279 |
title="">P</var> があって、それが <var title="">A</var> |
title="">P</var> があって、それが <var title="">A</var> |
| 280 |
の<a href="#child">子閲覧文脈</a>であり、かつ <var title="">B</var> |
の<a href=#child-browsing-context>子閲覧文脈</a>であり、かつ <var title="">B</var> |
| 281 |
の<a href="#parent">親閲覧文脈</a>である場合です。 |
の<a href=#parent-browsing-context>親閲覧文脈</a>である場合です。 |
| 282 |
|
|
| 283 |
#en |
#en |
| 284 |
The browsing context with no <a href="#parent">parent browsing |
The browsing context with no <a href=#parent-browsing-context>parent browsing |
| 285 |
context</a> is the <dfn id=top-level>top-level browsing context</dfn> of |
context</a> is the <dfn id=top-level-browsing-context>top-level browsing context</dfn> of |
| 286 |
all the browsing contexts <a href="#nested0" title="nested browsing |
all the browsing contexts <a href=#nested-browsing-context title="nested browsing |
| 287 |
context">nested</a> within it (either directly or indirectly through other |
context">nested</a> within it (either directly or indirectly through other |
| 288 |
nested browsing contexts). |
nested browsing contexts). |
| 289 |
#ja |
#ja |
| 290 |
<a href="#parent">親閲覧文脈</a>のない閲覧文脈は、 |
<a href=#parent-browsing-context>親閲覧文脈</a>のない閲覧文脈は、 |
| 291 |
それに (直接的に、または他の入れ子閲覧文脈を通じて間接的に) |
それに (直接的に、または他の入れ子閲覧文脈を通じて間接的に) |
| 292 |
<a href="#nested0" title="nested browsing |
<a href=#nested-browsing-context title="nested browsing |
| 293 |
context">入れ子</a>になっている閲覧文脈すべての<dfn id=top-level>最上位閲覧文脈</dfn>です。 |
context">入れ子</a>になっている閲覧文脈すべての<dfn id=top-level-browsing-context>最上位閲覧文脈</dfn>です。 |
| 294 |
|
|
| 295 |
#en |
#en |
| 296 |
The transitive closure of <a href="#parent" title="parent browsing |
The transitive closure of <a href=#parent-browsing-context title="parent browsing |
| 297 |
context">parent browsing contexts</a> for a <a href="#nested0">nested |
context">parent browsing contexts</a> for a <a href=#nested-browsing-context>nested |
| 298 |
browsing context</a> gives the list of <dfn id=ancestor title="ancestor |
browsing context</a> gives the list of <dfn id=ancestor-browsing-context title="ancestor |
| 299 |
browsing context">ancestor browsing contexts</dfn>. |
browsing context">ancestor browsing contexts</dfn>. |
| 300 |
#ja |
#ja |
| 301 |
<a href="#nested0">入れ子閲覧文脈</a>の<a href="#parent" title="parent browsing |
<a href=#nested-browsing-context>入れ子閲覧文脈</a>の<a href=#parent-browsing-context title="parent browsing |
| 302 |
context">親閲覧文脈</a>の推移的閉包が<dfn id=ancestor title="ancestor |
context">親閲覧文脈</a>の推移的閉包が<dfn id=ancestor-browsing-context title="ancestor |
| 303 |
browsing context">祖先閲覧文脈</dfn>の並びを与えます。 |
browsing context">祖先閲覧文脈</dfn>の並びを与えます。 |
| 304 |
|
|
| 305 |
#en |
#en |
| 306 |
A <code>Document</code> is said to be <dfn id=fully>fully active</dfn> |
A <code>Document</code> is said to be <dfn id=fully-active>fully active</dfn> |
| 307 |
when it is the <a href="#active">active document</a> of its <a |
when it is the <a href=#active-document>active document</a> of its <a |
| 308 |
href="#browsing1">browsing context</a>, and either its browsing context is |
href=#browsing-context>browsing context</a>, and either its browsing context is |
| 309 |
a <a href="#top-level">top-level browsing context</a>, or the |
a <a href=#top-level-browsing-context>top-level browsing context</a>, or the |
| 310 |
<code>Document</code> <a href="#nested1" title="browsing context nested |
<code>Document</code> <a href=#browsing-context-nested-through title="browsing context nested |
| 311 |
through">through which</a> that browsing context is <a href="#nested0" |
through">through which</a> that browsing context is <a href=#nested-browsing-context |
| 312 |
title="nested browsing context">nested</a> is itself <a |
title="nested browsing context">nested</a> is itself <a |
| 313 |
href="#fully">fully active</a>. |
href=#fully-active>fully active</a>. |
| 314 |
#ja |
#ja |
| 315 |
<code>Document</code> が<dfn id=fully>完全に活性</dfn>であるというのは、 |
<code>Document</code> が<dfn id=fully-active>完全に活性</dfn>であるというのは、 |
| 316 |
これがその<a |
これがその<a |
| 317 |
href="#browsing1">閲覧文脈</a>の<a href="#active">活性文書</a>であり、かつその閲覧文脈が<a href="#top-level">最上位閲覧文脈</a>であるか、 |
href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>であり、かつその閲覧文脈が<a href=#top-level-browsing-context>最上位閲覧文脈</a>であるか、 |
| 318 |
またはその閲覧文脈がそれを<a href="#nested1" title="browsing context nested |
またはその閲覧文脈がそれを<a href=#browsing-context-nested-through title="browsing context nested |
| 319 |
through">通じて</a><a href="#nested0" |
through">通じて</a><a href=#nested-browsing-context |
| 320 |
title="nested browsing context">入れ子</a>になっているような |
title="nested browsing context">入れ子</a>になっているような |
| 321 |
<code>Document</code> もそれ自体<a |
<code>Document</code> もそれ自体<a |
| 322 |
href="#fully">完全に活性</a>であることをいいます。 |
href=#fully-active>完全に活性</a>であることをいいます。 |
| 323 |
|
|
| 324 |
#en |
#en |
| 325 |
Because they are nested through an element, <a href="#child" |
Because they are nested through an element, <a href=#child-browsing-context |
| 326 |
title="child browsing context">child browsing contexts</a> are always tied |
title="child browsing context">child browsing contexts</a> are always tied |
| 327 |
to a specific <code>Document</code> in their <a href="#parent">parent |
to a specific <code>Document</code> in their <a href=#parent-browsing-context>parent |
| 328 |
browsing context</a>. User agents must not allow the user to interact with |
browsing context</a>. User agents must not allow the user to interact with |
| 329 |
<a href="#child" title="child browsing context">child browsing |
<a href=#child-browsing-context title="child browsing context">child browsing |
| 330 |
contexts</a> of elements that are in <code>Document</code>s that are not |
contexts</a> of elements that are in <code>Document</code>s that are not |
| 331 |
themselves <a href="#fully">fully active</a>. |
themselves <a href=#fully-active>fully active</a>. |
| 332 |
#ja |
#ja |
| 333 |
<a href="#child" |
<a href=#child-browsing-context |
| 334 |
title="child browsing context">子閲覧文脈</a>は、要素を通じて入れ子になっているため、 |
title="child browsing context">子閲覧文脈</a>は、要素を通じて入れ子になっているため、 |
| 335 |
常に<a href="#parent">親閲覧文脈</a>中の特定の <code>Document</code> |
常に<a href=#parent-browsing-context>親閲覧文脈</a>中の特定の <code>Document</code> |
| 336 |
と紐付けされています。利用者エージェントは、<a href="#fully">完全に活性</a>でない |
と紐付けされています。利用者エージェントは、<a href=#fully-active>完全に活性</a>でない |
| 337 |
<code>Document</code> 中の要素の<a href="#child" title="child browsing context">子閲覧文脈</a>に対して利用者が対話することを認めては[[MUST NOT:なりません]]。 |
<code>Document</code> 中の要素の<a href=#child-browsing-context title="child browsing context">子閲覧文脈</a>に対して利用者が対話することを認めては[[MUST NOT:なりません]]。 |
| 338 |
|
|
| 339 |
#en |
#en |
| 340 |
A <a href="#nested0">nested browsing context</a> can have a <a |
A <a href=#nested-browsing-context>nested browsing context</a> can have a <a |
| 341 |
href="#seamless0">seamless browsing context flag</a> set, if it is |
href=#seamless-browsing-context-flag>seamless browsing context flag</a> set, if it is |
| 342 |
embedded through an <code><a href="#iframe">iframe</a></code> element with |
embedded through an <code><a href=#the-iframe-element>iframe</a></code> element with |
| 343 |
a <code title=attr-iframe-seamless><a href="#seamless">seamless</a></code> |
a <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> |
| 344 |
attribute. |
attribute. |
| 345 |
#ja |
#ja |
| 346 |
<a href="#nested0">入れ子閲覧文脈</a>には、これが |
<a href=#nested-browsing-context>入れ子閲覧文脈</a>には、これが |
| 347 |
<code title=attr-iframe-seamless><a href="#seamless">seamless</a></code> |
<code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> |
| 348 |
属性のある <code><a href="#iframe">iframe</a></code> |
属性のある <code><a href=#the-iframe-element>iframe</a></code> |
| 349 |
要素を通じて埋め込まれている場合、<a |
要素を通じて埋め込まれている場合、<a |
| 350 |
href="#seamless0">継ぎ目なし閲覧文脈旗</a>が設定されることがあります。 |
href=#seamless-browsing-context-flag>継ぎ目なし閲覧文脈旗</a>が設定されることがあります。 |
| 351 |
|
|
| 352 |
#pattern |
#pattern |
| 353 |
<span class=secno>* </span>Auxiliary browsing contexts |
<span class=secno>* </span>Auxiliary browsing contexts |
| 357 |
#en |
#en |
| 358 |
It is possible to create new browsing contexts that are related to a |
It is possible to create new browsing contexts that are related to a |
| 359 |
<span>top level browsing context</span> without being nested through an |
<span>top level browsing context</span> without being nested through an |
| 360 |
element. Such browsing contexts are called <dfn id=auxiliary0 |
element. Such browsing contexts are called <dfn id=auxiliary-browsing-context |
| 361 |
title="auxiliary browsing context">auxiliary browsing contexts</dfn>. |
title="auxiliary browsing context">auxiliary browsing contexts</dfn>. |
| 362 |
Auxiliary browsing contexts are always <a href="#top-level" |
Auxiliary browsing contexts are always <a href=#top-level-browsing-context |
| 363 |
title="top-level browsing context">top-level browsing contexts</a>. |
title="top-level browsing context">top-level browsing contexts</a>. |
| 364 |
#ja |
#ja |
| 365 |
ある<span>最上位閲覧文脈</span>に関係する新しい閲覧文脈を、 |
ある<span>最上位閲覧文脈</span>に関係する新しい閲覧文脈を、 |
| 366 |
要素を通じて入れ子にせずに作成することができます。このような閲覧文脈を<dfn id=auxiliary0 |
要素を通じて入れ子にせずに作成することができます。このような閲覧文脈を<dfn id=auxiliary-browsing-context |
| 367 |
title="auxiliary browsing context">補助閲覧文脈</dfn>と呼びます。 |
title="auxiliary browsing context">補助閲覧文脈</dfn>と呼びます。 |
| 368 |
補助閲覧文脈は常に<a href="#top-level" |
補助閲覧文脈は常に<a href=#top-level-browsing-context |
| 369 |
title="top-level browsing context">最上位閲覧文脈</a>です。 |
title="top-level browsing context">最上位閲覧文脈</a>です。 |
| 370 |
|
|
| 371 |
#en |
#en |
| 372 |
An <a href="#auxiliary0">auxiliary browsing context</a> has an <dfn |
An <a href=#auxiliary-browsing-context>auxiliary browsing context</a> has an <dfn |
| 373 |
id=opener>opener browsing context</dfn>, which is the <a |
id=opener-browsing-context>opener browsing context</dfn>, which is the <a |
| 374 |
href="#browsing1">browsing context</a> from which the <a |
href=#browsing-context>browsing context</a> from which the <a |
| 375 |
href="#auxiliary0">auxiliary browsing context</a> was created, and it has |
href=#auxiliary-browsing-context>auxiliary browsing context</a> was created, and it has |
| 376 |
a <dfn id=furthest>furthest ancestor browsing context</dfn>, which is the |
a <dfn id=furthest-ancestor-browsing-context>furthest ancestor browsing context</dfn>, which is the |
| 377 |
<a href="#top-level">top-level browsing context</a> of the <a |
<a href=#top-level-browsing-context>top-level browsing context</a> of the <a |
| 378 |
href="#opener">opener browsing context</a> when the <a |
href=#opener-browsing-context>opener browsing context</a> when the <a |
| 379 |
href="#auxiliary0">auxiliary browsing context</a> was created. |
href=#auxiliary-browsing-context>auxiliary browsing context</a> was created. |
| 380 |
#ja |
#ja |
| 381 |
<a href="#auxiliary0">補助閲覧文脈</a>は、<dfn |
<a href=#auxiliary-browsing-context>補助閲覧文脈</a>は、<dfn |
| 382 |
id=opener>開闢器閲覧文脈</dfn>を持ちます。これは、<a |
id=opener-browsing-context>開闢器閲覧文脈</dfn>を持ちます。これは、<a |
| 383 |
href="#auxiliary0">補助閲覧文脈</a>を作成した<a |
href=#auxiliary-browsing-context>補助閲覧文脈</a>を作成した<a |
| 384 |
href="#browsing1">閲覧文脈</a>です。また、<dfn id=furthest>最遠祖先閲覧文脈</dfn>も持ちます。 |
href=#browsing-context>閲覧文脈</a>です。また、<dfn id=furthest-ancestor-browsing-context>最遠祖先閲覧文脈</dfn>も持ちます。 |
| 385 |
これは、<a |
これは、<a |
| 386 |
href="#auxiliary0">補助閲覧文脈</a>が作成された時の<a |
href=#auxiliary-browsing-context>補助閲覧文脈</a>が作成された時の<a |
| 387 |
href="#opener">開闢器閲覧文脈</a>の<a href="#top-level">最上位閲覧文脈</a>です。 |
href=#opener-browsing-context>開闢器閲覧文脈</a>の<a href=#top-level-browsing-context>最上位閲覧文脈</a>です。 |
| 388 |
|
|
| 389 |
#en |
#en |
| 390 |
The <dfn id=opener0 title=dom-opener><code>opener</code></dfn> DOM |
The <dfn id=dom-opener title=dom-opener><code>opener</code></dfn> DOM |
| 391 |
attribute on the <code><a href="#window">Window</a></code> object must |
attribute on the <code><a href=#window>Window</a></code> object must |
| 392 |
return the <code><a href="#window">Window</a></code> object of the <a |
return the <code><a href=#window>Window</a></code> object of the <a |
| 393 |
href="#browsing1">browsing context</a> from which the current browsing |
href=#browsing-context>browsing context</a> from which the current browsing |
| 394 |
context was created (its <a href="#opener">opener browsing context</a>), |
context was created (its <a href=#opener-browsing-context>opener browsing context</a>), |
| 395 |
if there is one and it is still available. |
if there is one and it is still available. |
| 396 |
#ja |
#ja |
| 397 |
<code><a href="#window">Window</a></code> オブジェクトの |
<code><a href=#window>Window</a></code> オブジェクトの |
| 398 |
<dfn id=opener0 title=dom-opener><code>opener</code></dfn> DOM 属性は、 |
<dfn id=dom-opener title=dom-opener><code>opener</code></dfn> DOM 属性は、 |
| 399 |
現在の閲覧文脈が作成された<a |
現在の閲覧文脈が作成された<a |
| 400 |
href="#browsing1">閲覧文脈</a> (<a href="#opener">開闢器閲覧文脈</a>) |
href=#browsing-context>閲覧文脈</a> (<a href=#opener-browsing-context>開闢器閲覧文脈</a>) |
| 401 |
の <code><a href="#window">Window</a></code> |
の <code><a href=#window>Window</a></code> |
| 402 |
オブジェクトを、これがあって、まだ利用可能であれば、返さなければ[[MUST:なりません]]。 |
オブジェクトを、これがあって、まだ利用可能であれば、返さなければ[[MUST:なりません]]。 |
| 403 |
|
|
| 404 |
#pattern |
#pattern |
| 407 |
<span class=secno>$1 </span>二次閲覧文脈 |
<span class=secno>$1 </span>二次閲覧文脈 |
| 408 |
|
|
| 409 |
#en |
#en |
| 410 |
User agents may support <dfn id=secondary0 title="secondary browsing |
User agents may support <dfn id=secondary-browsing-context title="secondary browsing |
| 411 |
context">secondary browsing contexts</dfn>, which are <a href="#browsing1" |
context">secondary browsing contexts</dfn>, which are <a href=#browsing-context |
| 412 |
title="browsing context">browsing contexts</a> that form part of the user |
title="browsing context">browsing contexts</a> that form part of the user |
| 413 |
agent's interface, apart from the main content area. |
agent's interface, apart from the main content area. |
| 414 |
#ja |
#ja |
| 415 |
利用者エージェントは、<dfn id=secondary0 title="secondary browsing |
利用者エージェントは、<dfn id=secondary-browsing-context title="secondary browsing |
| 416 |
context">二次閲覧文脈</dfn>に対応しても[[MAY:構いません]]。これは、利用者エージェントの界面の一部を形成する、 |
context">二次閲覧文脈</dfn>に対応しても[[MAY:構いません]]。これは、利用者エージェントの界面の一部を形成する、 |
| 417 |
主たる内容領域とは別の<a href="#browsing1" |
主たる内容領域とは別の<a href=#browsing-context |
| 418 |
title="browsing context">閲覧文脈</a>です。 |
title="browsing context">閲覧文脈</a>です。 |
| 419 |
|
|
| 420 |
#pattern |
#pattern |
| 423 |
<span class=secno>$1 </span>保安性 |
<span class=secno>$1 </span>保安性 |
| 424 |
|
|
| 425 |
#en |
#en |
| 426 |
A <a href="#browsing1">browsing context</a> <var title="">A</var> is |
A <a href=#browsing-context>browsing context</a> <var title="">A</var> is |
| 427 |
<dfn id=allowed>allowed to navigate</dfn> a second <a |
<dfn id=concept-input-step>allowed to navigate</dfn> a second <a |
| 428 |
href="#browsing1">browsing context</a> <var title="">B</var> if one of the |
href=#browsing-context>browsing context</a> <var title="">B</var> if one of the |
| 429 |
following conditions is true: |
following conditions is true: |
| 430 |
#ja |
#ja |
| 431 |
<a href="#browsing1">閲覧文脈</a> <var title="">A</var> が2つ目の<a |
<a href=#browsing-context>閲覧文脈</a> <var title="">A</var> が2つ目の<a |
| 432 |
href="#browsing1">閲覧文脈</a> <var title="">B</var> |
href=#browsing-context>閲覧文脈</a> <var title="">B</var> |
| 433 |
を<dfn id=allowed>操縦することが認められている</dfn>のは、 |
を<dfn id=concept-input-step>操縦することが認められている</dfn>のは、 |
| 434 |
次の条件の1つが真である場合です。 |
次の条件の1つが真である場合です。 |
| 435 |
|
|
| 436 |
#en |
#en |
| 437 |
Either the <a href="#origin0">origin</a> of the <a |
Either the <a href=#origin-0>origin</a> of the <a |
| 438 |
href="#active">active document</a> of <var title="">A</var> is the <a |
href=#active-document>active document</a> of <var title="">A</var> is the <a |
| 439 |
href="#same-origin" title="same origin">same</a> as the <a |
href=#same-origin title="same origin">same</a> as the <a |
| 440 |
href="#origin0">origin</a> of the <a href="#active">active document</a> |
href=#origin-0>origin</a> of the <a href=#active-document>active document</a> |
| 441 |
of <var title="">B</var>, or |
of <var title="">B</var>, or |
| 442 |
#ja |
#ja |
| 443 |
<var title="">A</var> の<a |
<var title="">A</var> の<a |
| 444 |
href="#active">活性文書</a>の<a href="#origin0">起源</a>が |
href=#active-document>活性文書</a>の<a href=#origin-0>起源</a>が |
| 445 |
<var title="">B</var> の<a href="#active">活性文書</a>の<a |
<var title="">B</var> の<a href=#active-document>活性文書</a>の<a |
| 446 |
href="#origin0">起源</a>と<a |
href=#origin-0>起源</a>と<a |
| 447 |
href="#same-origin" title="same origin">同じ</a>である |
href=#same-origin title="same origin">同じ</a>である |
| 448 |
|
|
| 449 |
|
#en |
| 450 |
|
The browsing context <var title="">A</var> is a <a |
| 451 |
|
href=#nested-browsing-context>nested browsing context</a> and its <a |
| 452 |
|
href=#top-level-browsing-context>top-level browsing context</a> is <var |
| 453 |
|
title="">B</var>, or |
| 454 |
|
#ja |
| 455 |
|
閲覧文脈 <var title="">A</var> は<a |
| 456 |
|
href=#nested-browsing-context>入れ子閲覧文脈</a>であり、その<a |
| 457 |
|
href=#top-level-browsing-context>最上位閲覧文脈</a>が <var |
| 458 |
|
title="">B</var> である |
| 459 |
|
|
| 460 |
#en |
#en |
| 461 |
The browsing context <var title="">B</var> is an <a |
The browsing context <var title="">B</var> is an <a |
| 462 |
href="#auxiliary0">auxiliary browsing context</a> and either its <a |
href=#auxiliary-browsing-context>auxiliary browsing context</a> and <var |
| 463 |
href="#opener">opener browsing context</a> is <var title="">A</var> or |
title="">A</var> is <a href=#concept-input-step>allowed to navigate</a> <var |
| 464 |
<var title="">A</var> is <a href="#allowed">allowed to navigate</a> <var |
title="">B</var>'s <a href=#opener-browsing-context>opener browsing context</a>, or |
|
title="">B</var>'s <a href="#opener">opener browsing context</a>, or |
|
| 465 |
#ja |
#ja |
| 466 |
閲覧文脈 <var title="">B</var> は<a |
閲覧文脈 <var title="">B</var> は<a |
| 467 |
href="#auxiliary0">補助閲覧文脈</a>であり、かつ、その<a |
href=#auxiliary-browsing-context>補助閲覧文脈</a>であり、かつ |
| 468 |
href="#opener">開闢器閲覧文脈</a>が <var title="">A</var> |
<var title="">A</var> が <var |
| 469 |
であるか、または <var title="">A</var> が <var |
title="">B</var> の<a href=#opener-browsing-context>開闢器閲覧文脈</a>を<a href=#concept-input-step>操縦することが認められている</a> |
|
title="">B</var> の<a href="#opener">開闢器閲覧文脈</a>を<a href="#allowed">操縦することが認められている</a>かのいずれかである |
|
| 470 |
|
|
| 471 |
#en |
#en |
| 472 |
The browsing context <var title="">B</var> is not a <a |
The browsing context <var title="">B</var> is not a <a |
| 473 |
href="#top-level">top-level browsing context</a>, but there exists an <a |
href=#top-level-browsing-context>top-level browsing context</a>, but there exists an <a |
| 474 |
href="#ancestor">ancestor browsing context</a> of <var title="">B</var> |
href=#ancestor-browsing-context>ancestor browsing context</a> of <var title="">B</var> |
| 475 |
whose <a href="#active">active document</a> has the <a |
whose <a href=#active-document>active document</a> has the <a |
| 476 |
href="#same-origin" title="same origin">same</a> <a |
href=#same-origin title="same origin">same</a> <a |
| 477 |
href="#origin0">origin</a> as the <a href="#active">active document</a> |
href=#origin-0>origin</a> as the <a href=#active-document>active document</a> |
| 478 |
of <var title="">A</var> (possibly in fact being <var title="">A</var> |
of <var title="">A</var> (possibly in fact being <var title="">A</var> |
| 479 |
itself). |
itself). |
| 480 |
#ja |
#ja |
| 481 |
閲覧文脈 <var title="">B</var> は<a |
閲覧文脈 <var title="">B</var> は<a |
| 482 |
href="#top-level">最上位閲覧文脈</a>ではないが、 <var title="">B</var> |
href=#top-level-browsing-context>最上位閲覧文脈</a>ではないが、 <var title="">B</var> |
| 483 |
の<a |
の<a |
| 484 |
href="#ancestor">祖先閲覧文脈</a>に<a href="#active">活性文書</a>が |
href=#ancestor-browsing-context>祖先閲覧文脈</a>に<a href=#active-document>活性文書</a>が |
| 485 |
<var title="">A</var> の<a href="#active">活性文書</a>と<a |
<var title="">A</var> の<a href=#active-document>活性文書</a>と<a |
| 486 |
href="#same-origin" title="same origin">同じ</a><a |
href=#same-origin title="same origin">同じ</a><a |
| 487 |
href="#origin0">起源</a>を持つものが存在する |
href=#origin-0>起源</a>を持つものが存在する |
| 488 |
(実のところ <var title="">A</var> 自体であることもある) |
(実のところ <var title="">A</var> 自体であることもある) |
| 489 |
|
|
| 490 |
#pattern |
#pattern |
| 493 |
<span class=secno>$1 </span>スレッド |
<span class=secno>$1 </span>スレッド |
| 494 |
|
|
| 495 |
#en |
#en |
| 496 |
Each <a href="#browsing1">browsing context</a> is defined as having a |
Each <a href=#browsing-context>browsing context</a> is defined as having a |
| 497 |
list of zero or more <dfn id=directly>directly reachable browsing |
list of zero or more <dfn id=directly-reachable-browsing-contexts>directly reachable browsing |
| 498 |
contexts</dfn>. These are: |
contexts</dfn>. These are: |
| 499 |
#ja |
#ja |
| 500 |
各<a href="#browsing1">閲覧文脈</a>は、零以上の<dfn id=directly>直接到達可能閲覧文脈</dfn>の並びを持つと定義します。 |
各<a href=#browsing-context>閲覧文脈</a>は、零以上の<dfn id=directly-reachable-browsing-contexts>直接到達可能閲覧文脈</dfn>の並びを持つと定義します。 |
| 501 |
これは、次の閲覧文脈を含みます。 |
これは、次の閲覧文脈を含みます。 |
| 502 |
|
|
| 503 |
#en |
#en |
| 504 |
All the <a href="#browsing1">browsing context</a>'s <a href="#child" |
All the <a href=#browsing-context>browsing context</a>'s <a href=#child-browsing-context |
| 505 |
title="child browsing context">child browsing contexts</a>. |
title="child browsing context">child browsing contexts</a>. |
| 506 |
#ja |
#ja |
| 507 |
当該<a href="#browsing1">閲覧文脈</a>の全ての<a href="#child" |
当該<a href=#browsing-context>閲覧文脈</a>の全ての<a href=#child-browsing-context |
| 508 |
title="child browsing context">子閲覧文脈</a>。 |
title="child browsing context">子閲覧文脈</a>。 |
| 509 |
|
|
| 510 |
#en |
#en |
| 511 |
The <a href="#browsing1">browsing context</a>'s <a |
The <a href=#browsing-context>browsing context</a>'s <a |
| 512 |
href="#parent">parent browsing context</a>. |
href=#parent-browsing-context>parent browsing context</a>. |
| 513 |
#ja |
#ja |
| 514 |
当該<a href="#browsing1">閲覧文脈</a>の<a |
当該<a href=#browsing-context>閲覧文脈</a>の<a |
| 515 |
href="#parent">親閲覧文脈</a>。 |
href=#parent-browsing-context>親閲覧文脈</a>。 |
| 516 |
|
|
| 517 |
#en |
#en |
| 518 |
All the <a href="#browsing1" title="browsing context">browsing |
All the <a href=#browsing-context title="browsing context">browsing |
| 519 |
contexts</a> that have the <a href="#browsing1">browsing context</a> as |
contexts</a> that have the <a href=#browsing-context>browsing context</a> as |
| 520 |
their <a href="#opener">opener browsing context</a>. |
their <a href=#opener-browsing-context>opener browsing context</a>. |
| 521 |
#ja |
#ja |
| 522 |
当該<a href="#browsing1">閲覧文脈</a>が<a href="#opener">開闢器閲覧文脈</a>であるすべての<a href="#browsing1" title="browsing context">閲覧文脈</a>。 |
当該<a href=#browsing-context>閲覧文脈</a>が<a href=#opener-browsing-context>開闢器閲覧文脈</a>であるすべての<a href=#browsing-context title="browsing context">閲覧文脈</a>。 |
| 523 |
|
|
| 524 |
#en |
#en |
| 525 |
The <a href="#browsing1">browsing context</a>'s <a |
The <a href=#browsing-context>browsing context</a>'s <a |
| 526 |
href="#opener">opener browsing context</a>. |
href=#opener-browsing-context>opener browsing context</a>. |
| 527 |
#ja |
#ja |
| 528 |
当該<a href="#browsing1">閲覧文脈</a>の<a href="#opener">開闢器閲覧文脈</a>。 |
当該<a href=#browsing-context>閲覧文脈</a>の<a href=#opener-browsing-context>開闢器閲覧文脈</a>。 |
| 529 |
|
|
| 530 |
#en |
#en |
| 531 |
The transitive closure of all the <a href="#browsing1" title="browsing |
The transitive closure of all the <a href=#browsing-context title="browsing |
| 532 |
context">browsing contexts</a> that are <a href="#directly">directly |
context">browsing contexts</a> that are <a href=#directly-reachable-browsing-contexts>directly |
| 533 |
reachable browsing contexts</a> forms a <dfn id=unit-of>unit of related |
reachable browsing contexts</a> forms a <dfn id=unit-of-related-browsing-contexts>unit of related |
| 534 |
browsing contexts</dfn>. |
browsing contexts</dfn>. |
| 535 |
#ja |
#ja |
| 536 |
<a href="#directly">直接到達可能閲覧文脈</a>である<a href="#browsing1" title="browsing |
<a href=#directly-reachable-browsing-contexts>直接到達可能閲覧文脈</a>である<a href=#browsing-context title="browsing |
| 537 |
context">閲覧文脈</a>すべての推移的閉包は、<dfn id=unit-of>関連閲覧文脈の単位</dfn>を形成します。 |
context">閲覧文脈</a>すべての推移的閉包は、<dfn id=unit-of-related-browsing-contexts>関連閲覧文脈の単位</dfn>を形成します。 |
| 538 |
|
|
| 539 |
#en |
#en |
| 540 |
All the executable code in a <a href="#unit-of">unit of related browsing |
All the executable code in a <a href=#unit-of-related-browsing-contexts>unit of related browsing |
| 541 |
contexts</a> must execute on a single conceptual thread. The dispatch of |
contexts</a> must execute on a single conceptual thread. The dispatch of |
| 542 |
events fired by the user agent (e.g. in response to user actions or |
events fired by the user agent (e.g. in response to user actions or |
| 543 |
network activity) and the execution of any scripts associated with timers |
network activity) and the execution of any scripts associated with timers |
| 544 |
must be serialized so that for each <a href="#unit-of">unit of related |
must be serialized so that for each <a href=#unit-of-related-browsing-contexts>unit of related |
| 545 |
browsing contexts</a> there is only one script being executed at a time. |
browsing contexts</a> there is only one script being executed at a time. |
| 546 |
#ja |
#ja |
| 547 |
<a href="#unit-of">関連閲覧文脈の単位</a>内のすべての実行可能符号は、 |
<a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>内のすべての実行可能符号は、 |
| 548 |
単一の概念的なスレッドで実行されなければ[[MUST:なりません]]。利用者エージェントが |
単一の概念的なスレッドで実行されなければ[[MUST:なりません]]。利用者エージェントが |
| 549 |
(例えば利用者の作用やネットワーク活動への反応として) 発火する事象の発送やタイマーと関連付けられたスクリプトの実行は、 |
(例えば利用者の作用やネットワーク活動への反応として) 発火する事象の発送やタイマーと関連付けられたスクリプトの実行は、 |
| 550 |
<a href="#unit-of">関連閲覧文脈の単位</a>毎に同時に1つのスクリプトだけが実行されるように直列化されなければ[[MUST:なりません]]。 |
<a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>毎に同時に1つのスクリプトだけが実行されるように直列化されなければ[[MUST:なりません]]。 |
| 551 |
|
|
| 552 |
#pattern |
#pattern |
| 553 |
<span class=secno>* </span>Browsing context names |
<span class=secno>* </span>Browsing context names |
| 555 |
<span class=secno>$1 </span>閲覧文脈名 |
<span class=secno>$1 </span>閲覧文脈名 |
| 556 |
|
|
| 557 |
#en |
#en |
| 558 |
Browsing contexts can have a <dfn id=browsing2>browsing context |
Browsing contexts can have a <dfn id=browsing-context-container>browsing context |
| 559 |
name</dfn>. By default, a browsing context has no name (its name is not |
name</dfn>. By default, a browsing context has no name (its name is not |
| 560 |
set). |
set). |
| 561 |
#ja |
#ja |
| 562 |
閲覧文脈は、<dfn id=browsing2>閲覧文脈名</dfn>を持つことができます。 |
閲覧文脈は、<dfn id=browsing-context-container>閲覧文脈名</dfn>を持つことができます。 |
| 563 |
既定では、閲覧文脈は名前を持ちません (名前は設定されません)。 |
既定では、閲覧文脈は名前を持ちません (名前は設定されません)。 |
| 564 |
|
|
| 565 |
|
|
| 578 |
|
|
| 579 |
|
|
| 580 |
#en |
#en |
| 581 |
When an HTML document is to be loaded in a <a href="#browsing1">browsing |
When an HTML document is to be loaded in a <a href=#browsing-context>browsing |
| 582 |
context</a>, the user agent must create a <code>Document</code> object, |
context</a>, the user agent must create a <code>Document</code> object, |
| 583 |
mark it as being an <a href="#html-" title="HTML documents">HTML |
mark it as being an <a href=#html-documents title="HTML documents">HTML |
| 584 |
document</a>, create an <a href="#html-0">HTML parser</a>, associate it |
document</a>, create an <a href=#html-parser>HTML parser</a>, associate it |
| 585 |
with the document, and begin to use the bytes provided for the document as |
with the document, and begin to use the bytes provided for the document as |
| 586 |
the <a href="#input0">input stream</a> for that parser. |
the <a href=#the-input-element>input stream</a> for that parser. |
| 587 |
#ja |
#ja |
| 588 |
HTML 文書が<a href="#browsing1">閲覧文脈</a>に読み込まれるとき、 |
HTML 文書が<a href=#browsing-context>閲覧文脈</a>に読み込まれるとき、 |
| 589 |
利用者エージェントは、 <code>Document</code> オブジェクトを作成し、 |
利用者エージェントは、 <code>Document</code> オブジェクトを作成し、 |
| 590 |
それに <a href="#html-" title="HTML documents">HTML |
それに <a href=#html-documents title="HTML documents">HTML |
| 591 |
文書</a>であるとの印を付け、<a href="#html-0">HTML 構文解析器</a>を作成し、 |
文書</a>であるとの印を付け、<a href=#html-parser>HTML 構文解析器</a>を作成し、 |
| 592 |
これをその文書と関連付け、 |
これをその文書と関連付け、 |
| 593 |
その文書に対して提供されたバイト列を構文解析器の<a href="#input0">入力ストリーム</a>として使い始めなければ[[MUST:なりません]]。 |
その文書に対して提供されたバイト列を構文解析器の<a href=#the-input-element>入力ストリーム</a>として使い始めなければ[[MUST:なりません]]。 |
| 594 |
|
|
| 595 |
#en |
#en |
| 596 |
The <a href="#input0">input stream</a> converts bytes into |
The <a href=#the-input-element>input stream</a> converts bytes into |
| 597 |
characters for use in the <span>tokeniser</span><!-- XXX xref |
characters for use in the <span>tokeniser</span><!-- XXX xref |
| 598 |
-->. This |
-->. This |
| 599 |
process relies, in part, on character encoding information found in the |
process relies, in part, on character encoding information found in the |
| 600 |
real <a href="#content-type5" title=Content-Type>Content-Type metadata</a> |
real <a href=#content-type-0 title=Content-Type>Content-Type metadata</a> |
| 601 |
|
|
| 602 |
of the resource; the "sniffed type" is not used for this purpose. |
of the resource; the "sniffed type" is not used for this purpose. |
| 603 |
#ja |
#ja |
| 604 |
<a href="#input0">入力ストリーム</a>はバイト列を文字列に変換し、 |
<a href=#the-input-element>入力ストリーム</a>はバイト列を文字列に変換し、 |
| 605 |
字句化器で使用できるようにします。この過程は、部分的に、 |
字句化器で使用できるようにします。この過程は、部分的に、 |
| 606 |
資源の実際の <a href="#content-type5" title=Content-Type>Content-Type |
資源の実際の <a href=#content-type-0 title=Content-Type>Content-Type |
| 607 |
メタデータ</a>に現れる文字符号化情報に依存しています。 |
メタデータ</a>に現れる文字符号化情報に依存しています。 |
| 608 |
ここでは「探知型」は使用しません。 |
ここでは「探知型」は使用しません。 |
| 609 |
|
|
| 610 |
#en |
#en |
| 611 |
When no more bytes are available, an EOF character is implied, which |
When no more bytes are available, an EOF character is implied, which |
| 612 |
eventually causes a <code title=event-load><a |
eventually causes a <code title=event-load><a |
| 613 |
href="#load0">load</a></code> event to be fired. |
href=#event-load>load</a></code> event to be fired. |
| 614 |
#ja |
#ja |
| 615 |
それ以上のバイトが存在しなくなると、暗黙の EOF 文字の存在が仮定され、 |
それ以上のバイトが存在しなくなると、暗黙の EOF 文字の存在が仮定され、 |
| 616 |
それによって <code title=event-load><a |
それによって <code title=event-load><a |
| 617 |
href="#load0">load</a></code> 事象が発火されることとなります。 |
href=#event-load>load</a></code> 事象が発火されることとなります。 |
| 618 |
|
|
| 619 |
#en |
#en |
| 620 |
After creating the <code>Document</code> object, but potentially before |
After creating the <code>Document</code> object, but potentially before |
| 621 |
the page has finished parsing, the user agent must <a |
the page has finished parsing, the user agent must <a |
| 622 |
href="#update2">update the session history with the new page</a>. |
href=#update-the-session-history-with-the-new-page>update the session history with the new page</a>. |
| 623 |
#ja |
#ja |
| 624 |
<code>Document</code> オブジェクトが作成された後に、 |
<code>Document</code> オブジェクトが作成された後に、 |
| 625 |
頁が構文解析を完了される前でも構いませんが、 |
頁が構文解析を完了される前でも構いませんが、 |
| 626 |
利用者エージェントは、<a |
利用者エージェントは、<a |
| 627 |
href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
href=#update-the-session-history-with-the-new-page>新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
| 628 |
|
|
| 629 |
#en |
#en |
| 630 |
<a href="#application2" |
<a href=#concept-appcache-init-with-attribute |
| 631 |
title=concept-appcache-init-with-attribute>Application cache selection</a> |
title=concept-appcache-init-with-attribute>Application cache selection</a> |
| 632 |
|
|
| 633 |
happens <a href="#parser-appcache">in the HTML parser</a>. |
happens <a href=#parser-appcache>in the HTML parser</a>. |
| 634 |
#ja |
#ja |
| 635 |
<a href="#application2" |
<a href=#concept-appcache-init-with-attribute |
| 636 |
title=concept-appcache-init-with-attribute>アプリケーション・キャッシュの選択</a>が |
title=concept-appcache-init-with-attribute>アプリケーション・キャッシュの選択</a>が |
| 637 |
<a href="#parser-appcache">HTML 構文解析器の中</a>で起こります。 |
<a href=#parser-appcache>HTML 構文解析器の中</a>で起こります。 |
| 638 |
|
|
| 639 |
#en |
#en |
| 640 |
When faced with displaying an XML file inline, user agents must first |
When faced with displaying an XML file inline, user agents must first |
| 641 |
create a <code>Document</code> object, following the requirements of the |
create a <code>Document</code> object, following the requirements of the |
| 642 |
XML and Namespaces in XML recommendations, RFC 3023, DOM3 Core, and other |
XML and Namespaces in XML recommendations, RFC 3023, DOM3 Core, and other |
| 643 |
relevant specifications. <a href="#refsXML">[XML]</a> <a |
relevant specifications. <a href=#refsXML>[XML]</a> <a |
| 644 |
href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a |
href=#refsXMLNS>[XMLNS]</a> <a href=#refsRFC3023>[RFC3023]</a> <a |
| 645 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 646 |
#ja |
#ja |
| 647 |
利用者エージェントは、 XML ファイルを行内で表示することになったとき、 |
利用者エージェントは、 XML ファイルを行内で表示することになったとき、 |
| 648 |
まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、 |
まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、 |
| 649 |
RFC 3023、DOM3 中核、その他関連する仕様書に従って作成しなければ[[MUST:なりません]]。 |
RFC 3023、DOM3 中核、その他関連する仕様書に従って作成しなければ[[MUST:なりません]]。 |
| 650 |
<a href="#refsXML">[XML]</a> <a |
<a href=#refsXML>[XML]</a> <a |
| 651 |
href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a |
href=#refsXMLNS>[XMLNS]</a> <a href=#refsRFC3023>[RFC3023]</a> <a |
| 652 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 653 |
|
|
| 654 |
#en |
#en |
| 655 |
The actual HTTP headers and other metadata, not the headers as mutated |
The actual HTTP headers and other metadata, not the headers as mutated |
| 656 |
or implied by the algorithms given in this specification, are the ones |
or implied by the algorithms given in this specification, are the ones |
| 657 |
that must be used when determining the character encoding according to the |
that must be used when determining the character encoding according to the |
| 658 |
rules given in the above specifications. Once the character encoding is |
rules given in the above specifications. Once the character encoding is |
| 659 |
established, the <a href="#character1">document's character encoding</a> |
established, the <a href=#character-encoding-requirements>document's character encoding</a> |
| 660 |
must be set to that character encoding. |
must be set to that character encoding. |
| 661 |
#ja |
#ja |
| 662 |
実際の HTTP 頭部その他のメタデータが、 |
実際の HTTP 頭部その他のメタデータが、 |
| 665 |
|
|
| 666 |
#en |
#en |
| 667 |
If the root element, as parsed according to the XML specifications cited |
If the root element, as parsed according to the XML specifications cited |
| 668 |
above, is found to be an <code><a href="#html">html</a></code> element |
above, is found to be an <code><a href=#the-html-element>html</a></code> element |
| 669 |
with an attribute <code title=attr-html-manifest><a |
with an attribute <code title=attr-html-manifest><a |
| 670 |
href="#manifest">manifest</a></code>, then, as soon as the element is |
href=#attr-html-manifest>manifest</a></code>, then, as soon as the element is |
| 671 |
inserted into the DOM, the user agent must run the <a href="#application2" |
inserted into the DOM, the user agent must run the <a href=#concept-appcache-init-with-attribute |
| 672 |
title=concept-appcache-init-with-attribute>application cache selection |
title=concept-appcache-init-with-attribute>application cache selection |
| 673 |
algorithm</a> with the value of that attribute, resolved relative to the |
algorithm</a> with the value of that attribute, resolved relative to the |
| 674 |
<a href="#elements3">element's base URI</a>, as the manifest URI. |
<a href=#dom-form-elements>element's base URI</a>, as the manifest URI. |
| 675 |
Otherwise, as soon as the root element is inserted into the DOM, the user |
Otherwise, as soon as the root element is inserted into the DOM, the user |
| 676 |
agent must run the <a href="#application3" |
agent must run the <a href=#concept-appcache-init-no-attribute |
| 677 |
title=concept-appcache-init-no-attribute>application cache selection |
title=concept-appcache-init-no-attribute>application cache selection |
| 678 |
algorithm</a> with no manifest. |
algorithm</a> with no manifest. |
| 679 |
#ja |
#ja |
| 680 |
利用者エージェントは、前述の XML 仕様書群に従い構文解析された根要素が <code><a href="#html">html</a></code> |
利用者エージェントは、前述の XML 仕様書群に従い構文解析された根要素が <code><a href=#the-html-element>html</a></code> |
| 681 |
要素であって <code title=attr-html-manifest><a |
要素であって <code title=attr-html-manifest><a |
| 682 |
href="#manifest">manifest</a></code> 属性を持つものであることが判明した場合、 |
href=#attr-html-manifest>manifest</a></code> 属性を持つものであることが判明した場合、 |
| 683 |
その要素が DOM に挿入されると同時に、<a href="#application2" |
その要素が DOM に挿入されると同時に、<a href=#concept-appcache-init-with-attribute |
| 684 |
title=concept-appcache-init-with-attribute>アプリケーション・キャッシュ選択算法</a>を、その属性の値を<a href="#elements3">要素の基底 |
title=concept-appcache-init-with-attribute>アプリケーション・キャッシュ選択算法</a>を、その属性の値を<a href=#dom-form-elements>要素の基底 |
| 685 |
URI</a> に対して解決したものをマニフェスト URI |
URI</a> に対して解決したものをマニフェスト URI |
| 686 |
として実行しなければ[[MUST:なりません]]。そうでない場合、 |
として実行しなければ[[MUST:なりません]]。そうでない場合、 |
| 687 |
利用者エージェントは、根要素が DOM に挿入されると同時に、 |
利用者エージェントは、根要素が DOM に挿入されると同時に、 |
| 688 |
<a href="#application3" |
<a href=#concept-appcache-init-no-attribute |
| 689 |
title=concept-appcache-init-no-attribute>アプリケーション・キャッシュ選択算法</a>をマニフェストなしで実行しなければ[[MUST:なりません]]。 |
title=concept-appcache-init-no-attribute>アプリケーション・キャッシュ選択算法</a>をマニフェストなしで実行しなければ[[MUST:なりません]]。 |
| 690 |
|
|
| 691 |
#en |
#en |
| 692 |
Because the processing of the <code |
Because the processing of the <code |
| 693 |
title=attr-html-manifest><a href="#manifest">manifest</a></code> attribute |
title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute |
| 694 |
happens only once the root element is parsed, any URIs referenced by |
happens only once the root element is parsed, any URIs referenced by |
| 695 |
processing instructions before the root element (such as <code |
processing instructions before the root element (such as <code |
| 696 |
title=""><?xml-styleesheet?></code> and <code |
title=""><?xml-styleesheet?></code> and <code |
| 698 |
cannot be cached. |
cannot be cached. |
| 699 |
#ja |
#ja |
| 700 |
<code |
<code |
| 701 |
title=attr-html-manifest><a href="#manifest">manifest</a></code> |
title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> |
| 702 |
属性の処理は根要素が構文解析されてはじめて行われますから、 |
属性の処理は根要素が構文解析されてはじめて行われますから、 |
| 703 |
根要素の前に現れる処理指令 (例えば <code |
根要素の前に現れる処理指令 (例えば <code |
| 704 |
title=""><?xml-styleesheet?></code> や <code |
title=""><?xml-styleesheet?></code> や <code |
| 711 |
dispatch to alternative processing tools, e.g. determining that the |
dispatch to alternative processing tools, e.g. determining that the |
| 712 |
content is actually a syndication feed and passing it to a feed handler. |
content is actually a syndication feed and passing it to a feed handler. |
| 713 |
If such processing is to take place, abort the steps in this section, and |
If such processing is to take place, abort the steps in this section, and |
| 714 |
jump to <a href="#navigate-non-Document">step 10</a> in the <a |
jump to <a href=#navigate-non-Document>step 10</a> in the <a |
| 715 |
href="#navigate">navigate</a> steps above. |
href=#navigate>navigate</a> steps above. |
| 716 |
#ja |
#ja |
| 717 |
利用者エージェントは、この <code>Document</code> |
利用者エージェントは、この <code>Document</code> |
| 718 |
オブジェクトの根 <code>Element</code> |
オブジェクトの根 <code>Element</code> |
| 720 |
(例えば、内容が実際には配給フィードであると判定し、 |
(例えば、内容が実際には配給フィードであると判定し、 |
| 721 |
これをフィード取扱器に渡しても構いません)。このような処理が行われる場合は、 |
これをフィード取扱器に渡しても構いません)。このような処理が行われる場合は、 |
| 722 |
この節の段階を中断し、前述の<a |
この節の段階を中断し、前述の<a |
| 723 |
href="#navigate">操縦</a>段階の<a href="#navigate-non-Document">段階 |
href=#navigate>操縦</a>段階の<a href=#navigate-non-Document>段階 |
| 724 |
10</a> に飛びます。 |
10</a> に飛びます。 |
| 725 |
|
|
| 726 |
#en |
#en |
| 727 |
Otherwise, then, with the newly created <code>Document</code>, the user |
Otherwise, then, with the newly created <code>Document</code>, the user |
| 728 |
agents must <a href="#update2">update the session history with the new |
agents must <a href=#update-the-session-history-with-the-new-page>update the session history with the new |
| 729 |
page</a>. User agents may do this before the complete document has been |
page</a>. User agents may do this before the complete document has been |
| 730 |
parsed (thus achieving <i>incremental rendering</i>). |
parsed (thus achieving <i>incremental rendering</i>). |
| 731 |
#ja |
#ja |
| 732 |
そうでない場合には、利用者エージェントは、新たに作成された |
そうでない場合には、利用者エージェントは、新たに作成された |
| 733 |
<code>Document</code> によって、 |
<code>Document</code> によって、 |
| 734 |
<a href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
<a href=#update-the-session-history-with-the-new-page>新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。 |
| 735 |
利用者エージェントは、これを文書全体が構文解析される前に行って |
利用者エージェントは、これを文書全体が構文解析される前に行って |
| 736 |
(<i>逐次的レンダリング</i>を実現して) も[[MAY:構いません]]。 |
(<i>逐次的レンダリング</i>を実現して) も[[MAY:構いません]]。 |
| 737 |
|
|
| 740 |
errors) may be reported inline by mutating the <code>Document</code>. |
errors) may be reported inline by mutating the <code>Document</code>. |
| 741 |
#ja |
#ja |
| 742 |
構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り) |
構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り) |
|
は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。 |
|
| 743 |
|
は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。 |
| 744 |
|
|
| 745 |
|
#en |
| 746 |
|
Browsing contexts can have a <dfn id=browsing-context-name>browsing context |
| 747 |
|
name</dfn>. By default, a browsing context has no name (its name is not |
| 748 |
|
set). |
| 749 |
|
#ja |
| 750 |
|
閲覧文脈は<dfn id=browsing-context-name>閲覧文脈名</dfn>を持つことができます。 |
| 751 |
|
既定では閲覧文脈は名前を持ちません (名前は設定されません)。 |
| 752 |
|
|
| 753 |
|
#en |
| 754 |
|
A <dfn id=valid-month-string>valid browsing context name</dfn> is any string with at |
| 755 |
|
least one character that does not start with a U+005F LOW LINE character. |
| 756 |
|
(Names starting with an underscore are reserved for special keywords.) |
| 757 |
|
#ja |
| 758 |
|
<dfn id=valid-month-string>妥当な閲覧文脈名</dfn>は、最低1文字を含み、 |
| 759 |
|
U+005F LOW LINE からはじまらない文字列です。 |
| 760 |
|
(下線からはじまる文字列は特別なキーワードに予約されています。) |
| 761 |
|
|
| 762 |
|
#en |
| 763 |
|
A <dfn id=valid-week-string>valid browsing context name or keyword</dfn> is any |
| 764 |
|
string that is either a <a href=#valid-month-string>valid browsing context name</a> |
| 765 |
|
or that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one |
| 766 |
|
of: <code title="">_blank</code>, <code title="">_self</code>, <code |
| 767 |
|
title="">_parent</code>, or <code title="">_top</code>. |
| 768 |
|
#ja |
| 769 |
|
<dfn id=valid-week-string>妥当な閲覧文脈の名前かキーワード</dfn>は、 |
| 770 |
|
<a href=#valid-month-string>妥当な閲覧文脈名</a>であるか、または |
| 771 |
|
<a href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で |
| 772 |
|
<code title="">_blank</code>、<code title="">_self</code>、<code |
| 773 |
|
title="">_parent</code>、<code title="">_top</code> |
| 774 |
|
のいずれかと一致するかのどちらかである文字列です。 |
| 775 |
|
|
| 776 |
|
#en |
| 777 |
|
<dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>The rules for choosing a browsing context given a |
| 778 |
|
browsing context name</dfn> are as follows. The rules assume that they are |
| 779 |
|
being applied in the context of a <a href=#browsing-context>browsing |
| 780 |
|
context</a>. |
| 781 |
|
#ja |
| 782 |
|
<dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</dfn>は次の通りです。 |
| 783 |
|
この規則はある<a href=#browsing-context>閲覧文脈</a>の文脈において適用されることを想定しています。 |
| 784 |
|
|
| 785 |
|
#en |
| 786 |
|
If the given browsing context name is the empty string or <code |
| 787 |
|
title="">_self</code>, then the chosen browsing context must be the |
| 788 |
|
current one. |
| 789 |
|
#ja |
| 790 |
|
与えられた閲覧文脈名が空文字列であるか、<code |
| 791 |
|
title="">_self</code> である場合、選ばれる閲覧文脈は現在のものでなければ[[MUST:なりません]]。 |
| 792 |
|
|
| 793 |
|
#en |
| 794 |
|
If the given browsing context name is <code title="">_parent</code>, |
| 795 |
|
then the chosen browsing context must be the <a |
| 796 |
|
href=#parent-browsing-context><em>parent</em> browsing context</a> of the current one, |
| 797 |
|
unless there isn't one, in which case the chosen browsing context must |
| 798 |
|
be the current browsing context. |
| 799 |
|
#ja |
| 800 |
|
与えられた閲覧文脈名が <code title="">_parent</code> である場合、 |
| 801 |
|
選ばれる閲覧文脈は現在の閲覧文脈の<a |
| 802 |
|
href=#parent-browsing-context><em>親</em>閲覧文脈</a>があればそれでなければ[[MUST:ならず]]、 |
| 803 |
|
なければ現在の閲覧文脈でなければ[[MUST:なりません]]。 |
| 804 |
|
|
| 805 |
|
#en |
| 806 |
|
If the given browsing context name is <code title="">_top</code>, then |
| 807 |
|
the chosen browsing context must be the most <a |
| 808 |
|
href=#top-level-browsing-context>top-level browsing context</a> of the current one. |
| 809 |
|
#ja |
| 810 |
|
与えられた閲覧文脈名が <code title="">_top</code> である場合、 |
| 811 |
|
選ばれる閲覧文脈は現在の閲覧文脈の一番<a |
| 812 |
|
href=#top-level-browsing-context>最上位閲覧文脈</a>でなければ[[MUST:なりません]]。 |
| 813 |
|
|
| 814 |
|
#en |
| 815 |
|
If the given browsing context name is not <code title="">_blank</code> |
| 816 |
|
and there exists a browsing context whose <a href=#browsing-context-name |
| 817 |
|
title="browsing context name">name</a> is the same as the given browsing |
| 818 |
|
context name, and the current browsing context is <a |
| 819 |
|
href=#concept-input-step>allowed to navigate</a> that browsing context, and the |
| 820 |
|
user agent determines that the two browsing contexts are related enough |
| 821 |
|
that it is ok if they reach each other, then that browsing context must |
| 822 |
|
be the chosen one. If there are multiple matching browsing contexts, the |
| 823 |
|
user agent should select one in some arbitrary consistent manner, such |
| 824 |
|
as the most recently opened, most recently focused, or more closely |
| 825 |
|
related. |
| 826 |
|
#ja |
| 827 |
|
与えられた閲覧文脈名が <code title="">_blank</code> |
| 828 |
|
ではなく、<a href=#browsing-context-name |
| 829 |
|
title="browsing context name">名前</a>が与えられた閲覧文脈名と同じである閲覧文脈が存在する場合で、 |
| 830 |
|
現在の閲覧文脈がその閲覧文脈を<a |
| 831 |
|
href=#concept-input-step>操縦することが認められており</a>、 |
| 832 |
|
利用者エージェントが2つの閲覧文脈は十分関係しているので互いに到達してもよいと判断した場合、 |
| 833 |
|
選ばれる閲覧文脈はその閲覧文脈でなければ[[MUST:なりません]]。 |
| 834 |
|
一致する閲覧文脈が複数ある場合、利用者エージェントは何らかの一貫した方法、 |
| 835 |
|
例えば最も新しく開かれたもの、最も新しく焦点を当てられたもの、 |
| 836 |
|
最もよく関係しているものといった方法で1つを選ぶ[[SHOULD:べきです]]。 |
| 837 |
|
|
| 838 |
|
#en |
| 839 |
|
Otherwise, a new browsing context is being requested, and what happens |
| 840 |
|
depends on the user agent's configuration and/or abilities: |
| 841 |
|
#ja |
| 842 |
|
それ以外の場合、新しい閲覧文脈が要求されており、 |
| 843 |
|
利用者エージェントの設定や能力、あるいはその両方によって動作が決まります。 |
| 844 |
|
|
| 845 |
|
#en |
| 846 |
|
If the current browsing context has the <a |
| 847 |
|
href=#sandboxed-navigation-browsing-context-flag>sandboxed navigation browsing context flag</a> set. |
| 848 |
|
#ja |
| 849 |
|
現在の閲覧文脈が<a |
| 850 |
|
href=#sandboxed-navigation-browsing-context-flag>砂箱化操縦閲覧文脈旗</a>を設定されている場合。 |
| 851 |
|
|
| 852 |
|
#en |
| 853 |
|
The user agent may offer to create a new <a |
| 854 |
|
href=#top-level-browsing-context>top-level browsing context</a> or reuse an existing |
| 855 |
|
<a href=#top-level-browsing-context>top-level browsing context</a>. If the user picks |
| 856 |
|
one of those options, then the designated browsing context must be the |
| 857 |
|
chosen one (the browsing context's name isn't set to the given browsing |
| 858 |
|
context name). Otherwise (if the user agent doesn't offer the option to |
| 859 |
|
the user, or if the user declines to allow a browsing context to be |
| 860 |
|
used) there must not be a chosen browsing context. |
| 861 |
|
#ja |
| 862 |
|
利用者エージェントは新しい<a |
| 863 |
|
href=#top-level-browsing-context>最上位閲覧文脈</a>を作成することや既存の<a href=#top-level-browsing-context>最上位閲覧文脈</a>を再利用することを提示して[[MAY:構いません]]。 |
| 864 |
|
利用者エージェントがこれらの選択肢の1つを選んだ場合、 |
| 865 |
|
指定された閲覧文脈を選ばれた閲覧文脈としなければ[[MUST:なりません]] |
| 866 |
|
(閲覧文脈名は与えられた閲覧文脈名に設定しません)。 |
| 867 |
|
そうでない場合 (利用者エージェントが利用者に選択肢を提示しない場合、 |
| 868 |
|
あるいは利用者が閲覧文脈を使うことを認めないことにした場合)、 |
| 869 |
|
どの閲覧文脈も選んでは[[MUST NOT:なりません]]。 |
| 870 |
|
|
| 871 |
|
#en |
| 872 |
|
The <dfn id=dom-top title=dom-top><code>top</code></dfn> DOM attribute on |
| 873 |
|
the <code><a href=#window>Window</a></code> object of a <a |
| 874 |
|
href=#browsing-context>browsing context</a> <var title="">b</var> must return |
| 875 |
|
the <code><a href=#window>Window</a></code> object of its <a |
| 876 |
|
href=#top-level-browsing-context>top-level browsing context</a> (which would be its own |
| 877 |
|
<code><a href=#window>Window</a></code> object if it was a <a |
| 878 |
|
href=#top-level-browsing-context>top-level browsing context</a> itself). |
| 879 |
|
#ja |
| 880 |
|
<a |
| 881 |
|
href=#browsing-context>閲覧文脈</a> <var title="">b</var> の |
| 882 |
|
<code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-top title=dom-top><code>top</code></dfn> DOM |
| 883 |
|
属性は、その<a |
| 884 |
|
href=#top-level-browsing-context>最上位閲覧文脈</a>の |
| 885 |
|
<code><a href=#window>Window</a></code> |
| 886 |
|
オブジェクト (その閲覧文脈自体が<a |
| 887 |
|
href=#top-level-browsing-context>最上位閲覧文脈</a>の場合、 |
| 888 |
|
その <code><a href=#window>Window</a></code> |
| 889 |
|
オブジェクト自体) を返さなければ[[MUST:なりません]]。 |
| 890 |
|
|
| 891 |
|
|
| 892 |
|
#en |
| 893 |
|
The <dfn id=dom-parent title=dom-parent><code>parent</code></dfn> DOM |
| 894 |
|
attribute on the <code><a href=#window>Window</a></code> object of a <a |
| 895 |
|
href=#browsing-context>browsing context</a> <var title="">b</var> must return |
| 896 |
|
the <code><a href=#window>Window</a></code> object of the <a |
| 897 |
|
href=#parent-browsing-context>parent browsing context</a>, if there is one (i.e. if <var |
| 898 |
|
title="">b</var> is a <a href=#child-browsing-context>child browsing context</a>), or the |
| 899 |
|
<code><a href=#window>Window</a></code> object of the <a |
| 900 |
|
href=#browsing-context>browsing context</a> <var title="">b</var> itself, |
| 901 |
|
otherwise (i.e. if it is a <a href=#top-level-browsing-context>top-level browsing |
| 902 |
|
context</a>). |
| 903 |
|
#ja |
| 904 |
|
<a |
| 905 |
|
href=#browsing-context>閲覧文脈</a> <var title="">b</var> の |
| 906 |
|
<code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-parent title=dom-parent><code>parent</code></dfn> DOM |
| 907 |
|
属性は、その<a |
| 908 |
|
href=#parent-browsing-context>親閲覧文脈</a>があれば |
| 909 |
|
(つまり <var |
| 910 |
|
title="">b</var> が<a href=#child-browsing-context>子閲覧文脈</a>である場合) その<a |
| 911 |
|
href=#parent-browsing-context>親閲覧文脈</a>の |
| 912 |
|
<code><a href=#window>Window</a></code> |
| 913 |
|
オブジェクトを、そうでない場合 (つまりそれ自体が<a href=#top-level-browsing-context>最上位閲覧文脈</a>の場合) |
| 914 |
|
<a |
| 915 |
|
href=#browsing-context>閲覧文脈</a> <var title="">b</var> |
| 916 |
|
自体の <code><a href=#window>Window</a></code> オブジェクトを返さなければ[[MUST:なりません]]。 |
| 917 |
|
|
| 918 |
|
#en |
| 919 |
|
The <dfn id=dom-frameelement |
| 920 |
|
title=dom-frameElement><code>frameElement</code></dfn> DOM attribute on |
| 921 |
|
the <code><a href=#window>Window</a></code> object of a <a |
| 922 |
|
href=#browsing-context>browsing context</a> <var title="">b</var>, on getting, |
| 923 |
|
must run the following algorithm: |
| 924 |
|
#ja |
| 925 |
|
<a |
| 926 |
|
href=#browsing-context>閲覧文脈</a> <var title="">b</var> の |
| 927 |
|
<code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-frameelement |
| 928 |
|
title=dom-frameElement><code>frameElement</code></dfn> DOM |
| 929 |
|
属性は、取得時、次の算法を走らせなければ[[MUST:なりません]]。 |
| 930 |
|
|
| 931 |
|
#en |
| 932 |
|
If <var title="">b</var> is not a <a href=#child-browsing-context>child browsing |
| 933 |
|
context</a>, return null and abort these steps. |
| 934 |
|
#ja |
| 935 |
|
<var title="">b</var> が<a href=#child-browsing-context>子閲覧文脈</a>でない場合、 |
| 936 |
|
null を返し、これらの段階を停止します。 |
| 937 |
|
|
| 938 |
|
#en |
| 939 |
|
If the <a href=#parent-browsing-context>parent browsing context</a>'s <a |
| 940 |
|
href=#active-document>active document</a> does not have the <span>same</span> |
| 941 |
|
<span>effective origin</span> as the script that is accessing the <code |
| 942 |
|
title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> |
| 943 |
|
attribute, then throw a <a href=#security-exception>security exception</a>. |
| 944 |
|
#ja |
| 945 |
|
<a href=#parent-browsing-context>親閲覧文脈</a>の<a |
| 946 |
|
href=#active-document>活性文書</a>が <code |
| 947 |
|
title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> |
| 948 |
|
属性にアクセスしているスクリプトと<span>同じ</span><span>実効起源</span>を持たない場合、<a href=#security-exception>保安性例外</a>を投げます。 |
| 949 |
|
|
| 950 |
|
#en |
| 951 |
|
Otherwise, return the <a href=#browsing-context-container>browsing context |
| 952 |
|
container</a> for <var title="">b</var>. |
| 953 |
|
#ja |
| 954 |
|
そうでない場合、 <var title="">b</var> の<a href=#browsing-context-container>閲覧文脈包含子</a>を返します。 |
| 955 |
|
|
| 956 |
|
|
| 957 |
|
#pattern |
| 958 |
|
<span class=secno>* </span>Navigating nested browsing contexts in the DOM |
| 959 |
|
#ja |
| 960 |
|
<span class=secno>$1 </span>DOM における入れ子閲覧文脈のナビゲーション |
| 961 |
|
|
| 962 |
|
#pattern |
| 963 |
|
<span class=secno>* </span>Navigating auxiliary browsing contexts in the DOM |
| 964 |
|
#ja |
| 965 |
|
<span class=secno>$1 </span>DOM における補助閲覧文脈のナビゲーション |
| 966 |
|
|
| 967 |
|
#en |
| 968 |
|
If the <a href=#parent-browsing-context>parent browsing context</a>'s <a href=#active-document>active |
| 969 |
|
document</a> does not have the <span>same</span> <a href=#effective-script-origin>effective |
| 970 |
|
script origin</a> as the script that is accessing the <code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> attribute, then throw |
| 971 |
|
a <a href=#security-exception>security exception</a>. |
| 972 |
|
#ja |
| 973 |
|
<a href=#parent-browsing-context>親閲覧文脈</a>の<a href=#active-document>活性文書</a>が、 |
| 974 |
|
<code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> |
| 975 |
|
属性にアクセスしているスクリプトと<span>同じ</span><a href=#effective-script-origin>実効スクリプト起源</a>を持たない場合、 |
| 976 |
|
<a href=#security-exception>保安性例外</a>を投げます。 |
| 977 |
|
|
| 978 |
|
#en |
| 979 |
|
A <a href=#browsing-context>browsing context</a> <var title="">A</var> is |
| 980 |
|
<dfn id=allowed-to-navigate>allowed to navigate</dfn> a second <a href=#browsing-context>browsing |
| 981 |
|
context</a> <var title="">B</var> if one of the following |
| 982 |
|
conditions is true: |
| 983 |
|
#ja |
| 984 |
|
<a href=#browsing-context>閲覧文脈</a> <var title="">A</var> は、 |
| 985 |
|
次の条件のいずれかが真である場合、別の<a href=#browsing-context>閲覧文脈</a> <var title="">B</var> |
| 986 |
|
<dfn id=allowed-to-navigate>ナビゲーションすることが認められ</dfn>ます。 |
| 987 |
|
|
| 988 |
|
#en |
| 989 |
|
The browsing context <var title="">B</var> is an |
| 990 |
|
<a href=#auxiliary-browsing-context>auxiliary browsing context</a> and <var title="">A</var> |
| 991 |
|
is <a href=#allowed-to-navigate>allowed to navigate</a> <var title="">B</var>'s |
| 992 |
|
<a href=#opener-browsing-context>opener browsing context</a>, or |
| 993 |
|
#ja |
| 994 |
|
閲覧文脈 <var title="">B</var> が<a href=#auxiliary-browsing-context>補助閲覧文脈</a>であり、 |
| 995 |
|
<var title="">A</var> が <var title="">B</var> の<a href=#opener-browsing-context>開闢器閲覧文脈</a>に<a href=#allowed-to-navigate>ナビゲーションすることが認められている</a> |
| 996 |
|
|
| 997 |
|
#pattern |
| 998 |
|
<span class=secno>* </span>Groupings of browsing contexts |
| 999 |
|
#ja |
| 1000 |
|
<span class=secno>$1 </span>閲覧文脈の群化 |
| 1001 |
|
|
| 1002 |
|
#en |
| 1003 |
|
Each <a href=#unit-of-related-browsing-contexts>unit of related browsing contexts</a> is then |
| 1004 |
|
further divided into the smallest number of groups such that every |
| 1005 |
|
member of each group has an <a href=#effective-script-origin>effective script origin</a> |
| 1006 |
|
that, through appropriate manipulation of the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute, could |
| 1007 |
|
be made to be the same as other members of the group, but could not |
| 1008 |
|
be made the same as members of any other group. Each such group is a |
| 1009 |
|
<dfn id=unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</dfn>. |
| 1010 |
|
#ja |
| 1011 |
|
<a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>のそれぞれを更に分割して、 |
| 1012 |
|
各群のすべての成員が <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> 属性の適切な操作によって同じ群の他の成員と同じ<a href=#effective-script-origin>実効スクリプト起源</a>となり得、 |
| 1013 |
|
かつ他のいずれの群の成員とも同じとはなり得ないようになる、 |
| 1014 |
|
最小の個数の群に分けます。 |
| 1015 |
|
この群は、それぞれが<dfn id=unit-of-related-similar-origin-browsing-contexts>関連類似起源閲覧文脈の単位</dfn>です。 |
| 1016 |
|
|
| 1017 |
|
#en |
| 1018 |
|
A <dfn id=valid-browsing-context-name>valid browsing context name</dfn> is any string with at |
| 1019 |
|
least one character that does not start with a U+005F LOW LINE |
| 1020 |
|
character. (Names starting with an underscore are reserved for |
| 1021 |
|
special keywords.) |
| 1022 |
|
#ja |
| 1023 |
|
<dfn id=valid-browsing-context-name>妥当な閲覧文脈名</dfn>は、 |
| 1024 |
|
最低1文字あって U+005F LOW LINE 文字で始まらないような文字列です。 |
| 1025 |
|
(下線で始まる名前は特別なキーワードに予約します。) |
| 1026 |
|
|
| 1027 |
|
#en |
| 1028 |
|
A <dfn id=valid-browsing-context-name-or-keyword>valid browsing context name or keyword</dfn> is any string |
| 1029 |
|
that is either a <a href=#valid-browsing-context-name>valid browsing context name</a> or that is |
| 1030 |
|
an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of: <code title="">_blank</code>, <code title="">_self</code>, <code title="">_parent</code>, or <code title="">_top</code>. |
| 1031 |
|
#ja |
| 1032 |
|
<dfn id=valid-browsing-context-name-or-keyword>妥当な閲覧文脈名かキーワード</dfn>は、 |
| 1033 |
|
<a href=#valid-browsing-context-name>妥当な閲覧文脈名</a>であるか、 |
| 1034 |
|
または |
| 1035 |
|
<code title="">_blank</code>、 |
| 1036 |
|
<code title="">_self</code>、 |
| 1037 |
|
<code title="">_parent</code>、 |
| 1038 |
|
<code title="">_top</code> |
| 1039 |
|
のいずれかと |
| 1040 |
|
<a href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で一致するような文字列です。 |
| 1041 |
|
|
| 1042 |
|
#en |
| 1043 |
|
If the given browsing context name is not <code title="">_blank</code> and there exists a browsing context whose |
| 1044 |
|
<a href=#browsing-context-name title="browsing context name">name</a> is the same as the |
| 1045 |
|
given browsing context name, and the current browsing context is |
| 1046 |
|
<a href=#allowed-to-navigate>allowed to navigate</a> that browsing context, and the |
| 1047 |
|
user agent determines that the two browsing contexts are related |
| 1048 |
|
enough that it is ok if they reach each other, then that browsing |
| 1049 |
|
context must be the chosen one. If there are multiple matching |
| 1050 |
|
browsing contexts, the user agent should select one in some |
| 1051 |
|
arbitrary consistent manner, such as the most recently opened, |
| 1052 |
|
most recently focused, or more closely related. |
| 1053 |
|
#ja |
| 1054 |
|
与えられた閲覧文脈名が <code title="">_blank</code> ではなく、 |
| 1055 |
|
<a href=#browsing-context-name title="browsing context name">名前</a>が与えられた閲覧文脈名と同じ閲覧文脈が存在し、 |
| 1056 |
|
現在の閲覧文脈がその閲覧文脈に<a href=#allowed-to-navigate>ナビゲーションすることが認められ</a>ており、 |
| 1057 |
|
両閲覧文脈の関係が十分深くて互いに到達してもよいと利用者エージェントが判断する場合には、 |
| 1058 |
|
閲覧文脈はその選んだものでなければ[[MUST:なりません]]。 |
| 1059 |
|
一致する閲覧文脈が複数ある場合には、利用者エージェントはいずれかを何らかの一貫した方法、 |
| 1060 |
|
例えば最も新しく開かれたもの、最も新しく焦点が与えられたもの、最も関係が深いものなどを選ぶ[[SHOULD:べきです]]。 |
| 1061 |
|
|
| 1062 |
|
#en |
| 1063 |
|
If the user agent has been configured such that |
| 1064 |
|
in this instance it will create a new browsing context, and the |
| 1065 |
|
browsing context is being requested as part of <a href=#following-hyperlinks title="following hyperlinks">following a hyperlink</a> whose |
| 1066 |
|
<a href=#linkTypes>link types</a> include the <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> keyword |
| 1067 |
|
#ja |
| 1068 |
|
利用者エージェントがこの実現値において新しい閲覧文脈を作るように設定されており、 |
| 1069 |
|
<a href=#linkTypes>リンク型</a>が <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> キーワードを含む<a href=#following-hyperlinks title="following hyperlinks">ハイパーリンクをたどる</a>過程で閲覧文脈が要求されている場合 |
| 1070 |
|
|
| 1071 |
|
#en |
| 1072 |
|
A new <a href=#top-level-browsing-context>top-level browsing context</a> must be |
| 1073 |
|
created. If the given browsing context name is not <code title="">_blank</code>, then the new top-level browsing context's |
| 1074 |
|
name must be the given browsing context name (otherwise, it has |
| 1075 |
|
no name). The chosen browsing context must be this new browsing |
| 1076 |
|
context. If it is immediately <a href=#navigate title=navigate>navigated</a>, then the navigation will be |
| 1077 |
|
done with <a href=#replacement-enabled>replacement enabled</a>. |
| 1078 |
|
#ja |
| 1079 |
|
新しい<a href=#top-level-browsing-context>最上位閲覧文脈</a>を作らなければ[[MUST:なりません]]。 |
| 1080 |
|
与えられた閲覧文脈名が <code title="">_blank</code> でない場合、 |
| 1081 |
|
新しい最上位閲覧文脈の名前は与えられた閲覧文脈名でなければ[[MUST:なりません]] |
| 1082 |
|
(そうでない場合、名前を持ちません)。 |
| 1083 |
|
選ばれる閲覧文脈はこの新しい閲覧文脈でなければ[[MUST:なりません]]。 |
| 1084 |
|
即座に<a href=#navigate title=navigate>ナビゲーション</a>される場合には、 |
| 1085 |
|
そのナビゲーションは<a href=#replacement-enabled>置換有効</a>でなされます。 |
| 1086 |
|
|
| 1087 |
|
#en |
| 1088 |
|
If the user agent has been configured such that in this |
| 1089 |
|
instance it will create a new browsing context, and the <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> keyword doesn't |
| 1090 |
|
apply |
| 1091 |
|
#ja |
| 1092 |
|
利用者エージェントがこの実現値において新しい閲覧文脈を作るように設定されており、 |
| 1093 |
|
<code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> |
| 1094 |
|
キーワードが適用されない場合 |
| 1095 |
|
|
| 1096 |
|
#en |
| 1097 |
|
A new <a href=#auxiliary-browsing-context>auxiliary browsing context</a> must be |
| 1098 |
|
created, with the <a href=#opener-browsing-context>opener browsing context</a> being the |
| 1099 |
|
current one. If the given browsing context name is not <code title="">_blank</code>, then the new auxiliary browsing context's |
| 1100 |
|
name must be the given browsing context name (otherwise, it has |
| 1101 |
|
no name). The chosen browsing context must be this new browsing |
| 1102 |
|
context. If it is immediately <a href=#navigate title=navigate>navigated</a>, then the navigation will be |
| 1103 |
|
done with <a href=#replacement-enabled>replacement enabled</a>. |
| 1104 |
|
#ja |
| 1105 |
|
新しい<a href=#auxiliary-browsing-context>補助閲覧文脈</a>を、 |
| 1106 |
|
現在の閲覧文脈を<a href=#opener-browsing-context>開闢器閲覧文脈</a>として作らなければ[[MUST:なりません]]。 |
| 1107 |
|
与えられた閲覧文脈名が <code title="">_blank</code> でない場合、 |
| 1108 |
|
新しい補助閲覧文脈の名前は与えられた閲覧文脈名でなければ[[MUST:なりません]] |
| 1109 |
|
(そうでない場合、名前を持ちません)。 |
| 1110 |
|
選ばれる閲覧文脈はこの新しい閲覧文脈でなければ[[MUST:なりません]]。 |
| 1111 |
|
即座に<a href=#navigate title=navigate>ナビゲーション</a>される場合は、 |
| 1112 |
|
そのナビゲーションは<a href=#replacement-enabled>置換有効</a>でなされます。 |
| 1113 |
|
|
| 1114 |
|
#en |
| 1115 |
|
If the user agent has been configured such that in this |
| 1116 |
|
instance it will reuse the current browsing context |
| 1117 |
|
#ja |
| 1118 |
|
利用者エージェントがこの実現値において現在の閲覧文脈を再利用するよう設定されている場合 |
| 1119 |
|
|
| 1120 |
|
#en |
| 1121 |
|
The chosen browsing context is the current browsing |
| 1122 |
|
context. |
| 1123 |
|
#ja |
| 1124 |
|
選ばれる閲覧文脈は現在の閲覧文脈です。 |
| 1125 |
|
|
| 1126 |
|
#en |
| 1127 |
|
If the user agent has been configured such that in this |
| 1128 |
|
instance it will not find a browsing context |
| 1129 |
|
#ja |
| 1130 |
|
利用者エージェントがこの実現値において閲覧文脈を探さないよう設定されている場合 |
| 1131 |
|
|
| 1132 |
|
#en |
| 1133 |
|
There must not be a chosen browsing context. |
| 1134 |
|
#ja |
| 1135 |
|
選ばれる閲覧文脈があっては[[MUST NOT:なりません]]。 |
| 1136 |
|
|
| 1137 |
|
#en |
| 1138 |
|
User agent implementors are encouraged to provide a way for |
| 1139 |
|
users to configure the user agent to always reuse the current |
| 1140 |
|
browsing context. |
| 1141 |
|
#ja |
| 1142 |
|
利用者エージェントが常に現在の閲覧文脈を再利用するように利用者が設定できるようにすることを利用者エージェント実装者にはお勧めします。 |
| 1143 |
|
|
| 1144 |
|
#pattern |
| 1145 |
|
<span class=secno>* </span>The default view |
| 1146 |
|
#ja |
| 1147 |
|
<span class=secno>$1 </span>既定表示 |
| 1148 |
|
|
| 1149 |
|
#en |
| 1150 |
|
The <code>AbstractView</code> object of <a href=#default-view title="default |
| 1151 |
|
view">default views</a> must also implement the |
| 1152 |
|
<code><a href=#window>Window</a></code> and <code>EventTarget</code> interfaces. |
| 1153 |
|
#ja |
| 1154 |
|
<a href=#default-view title="default |
| 1155 |
|
view">既定表示</a>の <code>AbstractView</code> オブジェクトは |
| 1156 |
|
<code><a href=#window>Window</a></code> 界面と <code>EventTarget</code> |
| 1157 |
|
界面も実装しなければ[[MUST:なりません]]。 |
| 1158 |
|
|
| 1159 |
|
#en |
| 1160 |
|
The <dfn id=dom-window title=dom-window><code>window</code></dfn>, <dfn id=dom-frames title=dom-frames><code>frames</code></dfn>, and <dfn id=dom-self title=dom-self><code>self</code></dfn> DOM attributes must all |
| 1161 |
|
return the <code><a href=#window>Window</a></code> object itself. |
| 1162 |
|
#ja |
| 1163 |
|
DOM 属性 <dfn id=dom-window title=dom-window><code>window</code></dfn>、 |
| 1164 |
|
<dfn id=dom-frames title=dom-frames><code>frames</code></dfn>、 |
| 1165 |
|
<dfn id=dom-self title=dom-self><code>self</code></dfn> |
| 1166 |
|
はすべて <code><a href=#window>Window</a></code> オブジェクト自体を返さなければ[[MUST:なりません]]。 |
| 1167 |
|
|
| 1168 |
|
#en |
| 1169 |
|
The <code><a href=#window>Window</a></code> object also provides the scope for script |
| 1170 |
|
execution. Each <code>Document</code> in a <a href=#browsing-context>browsing |
| 1171 |
|
context</a> has an associated <dfn id=list-of-added-properties>list of added properties</dfn> |
| 1172 |
|
that, when a document is <a href=#active-document title="active |
| 1173 |
|
document">active</a>, are available on the |
| 1174 |
|
<code>Document</code>'s <a href=#default-view>default view</a>'s |
| 1175 |
|
<code><a href=#window>Window</a></code> object. A <code>Document</code> object's |
| 1176 |
|
<a href=#list-of-added-properties>list of added properties</a> must be empty when the |
| 1177 |
|
<code>Document</code> object is created. |
| 1178 |
|
#ja |
| 1179 |
|
<code><a href=#window>Window</a></code> オブジェクトはスクリプト実行の適用範囲をも提供します。 |
| 1180 |
|
<a href=#browsing-context>閲覧文脈</a>中の各 <code>Document</code> |
| 1181 |
|
は関連付けられた<dfn id=list-of-added-properties>追加特性のリスト</dfn>を持ち、 |
| 1182 |
|
この追加特性は、文書が<a href=#active-document title="active |
| 1183 |
|
document">活性</a>な時、 |
| 1184 |
|
<code>Document</code> の<a href=#default-view>既定表示</a>の |
| 1185 |
|
<code><a href=#window>Window</a></code> オブジェクト上で利用可能となります。 |
| 1186 |
|
<code>Document</code> オブジェクトの<a href=#list-of-added-properties>追加特性のリスト</a>は、 |
| 1187 |
|
<code>Document</code> オブジェクトが作られた時には空でなければ[[MUST:なりません]]。 |
| 1188 |
|
|
| 1189 |
|
#en |
| 1190 |
|
User agents must raise a <a href=#security-exception>security exception</a> whenever |
| 1191 |
|
any of the members of a <code><a href=#window>Window</a></code> object are accessed by |
| 1192 |
|
scripts whose <a href=#effective-script-origin>effective script origin</a> is not the same |
| 1193 |
|
as the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing context</a>'s |
| 1194 |
|
<a href=#active-document>active document</a>'s <a href=#effective-script-origin>effective script origin</a>, |
| 1195 |
|
with the following exceptions: |
| 1196 |
|
#ja |
| 1197 |
|
利用者エージェントは、 <a href=#effective-script-origin>実効スクリプト起源</a>が |
| 1198 |
|
<code><a href=#window>Window</a></code> オブジェクトの<a href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>の<a href=#effective-script-origin>実効スクリプト起源</a>と同じでないスクリプトが |
| 1199 |
|
<code><a href=#window>Window</a></code> オブジェクトの成員にアクセスしようとした際には、 |
| 1200 |
|
次に挙げる例外を除き、常に<a href=#security-exception>保安性例外</a>を投げなければ[[MUST:なりません]]。 |
| 1201 |
|
|
| 1202 |
|
|
| 1203 |
|
#en |
| 1204 |
|
The <code title=dom-location><a href=#dom-location>location</a></code> object |
| 1205 |
|
#ja |
| 1206 |
|
<code title=dom-location><a href=#dom-location>location</a></code> オブジェクト |
| 1207 |
|
|
| 1208 |
|
#en |
| 1209 |
|
The <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code> |
| 1210 |
|
method with two arguments |
| 1211 |
|
#ja |
| 1212 |
|
2引数の <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code> メソッド |
| 1213 |
|
|
| 1214 |
|
#en |
| 1215 |
|
The <code title=dom-window-postMessage-3><a href=#dom-window-postmessage-3>postMessage()</a></code> |
| 1216 |
|
method with three arguments |
| 1217 |
|
#ja |
| 1218 |
|
3引数の <code title=dom-window-postMessage-3><a href=#dom-window-postmessage-3>postMessage()</a></code> |
| 1219 |
|
メソッド |
| 1220 |
|
|
| 1221 |
|
#en |
| 1222 |
|
The <code title=dom-frames><a href=#dom-frames>frames</a></code> attribute |
| 1223 |
|
#ja |
| 1224 |
|
<code title=dom-frames><a href=#dom-frames>frames</a></code> 属性 |
| 1225 |
|
|
| 1226 |
|
#en |
| 1227 |
|
User agents must not allow scripts to override the <code title=dom-location><a href=#dom-location>location</a></code> object's setter. |
| 1228 |
|
#ja |
| 1229 |
|
利用者エージェントはスクリプトが <code title=dom-location><a href=#dom-location>location</a></code> |
| 1230 |
|
オブジェクトの設定器を上書きすることを認めては[[MUST NOT:なりません]]。 |
| 1231 |
|
|
| 1232 |
|
#pattern |
| 1233 |
|
<span class=secno>* </span>APIs for creating and navigating browsing contexts by name |
| 1234 |
|
#ja |
| 1235 |
|
<span class=secno>$1 </span>名前により閲覧文脈を作成・ナビゲーションする API |
| 1236 |
|
|
| 1237 |
|
#en |
| 1238 |
|
The <dfn id=dom-open title=dom-open><code>open()</code></dfn> method on |
| 1239 |
|
<code><a href=#window>Window</a></code> objects provides a mechanism for <a href=#navigate title=navigate>navigating</a> an existing <a href=#browsing-context>browsing |
| 1240 |
|
context</a> or opening and navigating an <a href=#auxiliary-browsing-context>auxiliary browsing |
| 1241 |
|
context</a>. |
| 1242 |
|
#ja |
| 1243 |
|
<code><a href=#window>Window</a></code> オブジェクトの |
| 1244 |
|
<dfn id=dom-open title=dom-open><code>open()</code></dfn> |
| 1245 |
|
メソッドは既存の<a href=#browsing-context>閲覧文脈</a>を<a href=#navigate title=navigate>ナビゲーション</a>したり、 |
| 1246 |
|
<a href=#auxiliary-browsing-context>補助閲覧文脈</a>を開いたりナビゲーションしたりする機構を提供します。 |
| 1247 |
|
|
| 1248 |
|
#en |
| 1249 |
|
The method has four arguments, though they are all optional. |
| 1250 |
|
#ja |
| 1251 |
|
このメソッドは4つの引数を持ちますが、そのすべてが任意選択です。 |
| 1252 |
|
|
| 1253 |
|
#en |
| 1254 |
|
The first argument, <var title="">url</var>, must be a |
| 1255 |
|
<a href=#valid-url>valid URL</a> for a page to load in the browsing |
| 1256 |
|
context. If no arguments are provided, or if the first argument is |
| 1257 |
|
the empty string, then the <var title="">url</var> argument defaults |
| 1258 |
|
to "<code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->". The argument must be |
| 1259 |
|
<a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute |
| 1260 |
|
URL</a> (or an error) when the method is invoked. |
| 1261 |
|
#ja |
| 1262 |
|
最初の引数 <var title="">url</var> は、閲覧文脈中に読み込む頁の<a href=#valid-url>妥当な URL</a> |
| 1263 |
|
でなければ[[MUST:なりません]]。引数が与えられなかった場合や、 |
| 1264 |
|
最初の引数が空文字列の場合、 <var title="">url</var> 引数には既定値の |
| 1265 |
|
「<code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->」 |
| 1266 |
|
が用いられます。 |
| 1267 |
|
この引数は、メソッドが呼び出された時に<a href=#absolute-url>絶対 |
| 1268 |
|
URL</a> (または誤り) に<a href=#resolve-a-url title="resolve a url">解決</a>されます。 |
| 1269 |
|
|
| 1270 |
|
#en |
| 1271 |
|
The second argument, <var title="">target</var>, specifies the |
| 1272 |
|
<a href=#browsing-context-name title="browsing context name">name</a> of the browsing |
| 1273 |
|
context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword>valid browsing |
| 1274 |
|
context name or keyword</a>. If fewer than two arguments are |
| 1275 |
|
provided, then the <var title="">name</var> argument defaults to the |
| 1276 |
|
value "<code>_blank</code>". |
| 1277 |
|
#ja |
| 1278 |
|
2つ目の引数 <var title="">target</var> は、ナビゲーションされる閲覧文脈の<a href=#browsing-context-name title="browsing context name">名前</a>を指定します。 |
| 1279 |
|
これは<a href=#valid-browsing-context-name-or-keyword>妥当な閲覧文脈名かキーワード</a>でなければ[[MUST:なりません]]。 |
| 1280 |
|
引数が2つ未満の場合には、 <var title="">name</var> 引数には既定値の「<code>_blank</code>」 |
| 1281 |
|
が用いられます。 |
| 1282 |
|
|
| 1283 |
|
#en |
| 1284 |
|
The third argument, <var title="">features</var>, has no effect |
| 1285 |
|
and is supported for historical reasons only. |
| 1286 |
|
#ja |
| 1287 |
|
3つ目の引数 <var title="">features</var> は、効果を持たず、 |
| 1288 |
|
歴史的な理由のみにより対応しています。 |
| 1289 |
|
|
| 1290 |
|
#en |
| 1291 |
|
The fourth argument, <var title="">replace</var>, specifies |
| 1292 |
|
whether or not the new page will <a href=#replacement-enabled title="replacement |
| 1293 |
|
enabled">replace</a> the page currently loaded in the browsing |
| 1294 |
|
context, when <var title="">target</var> identifies an existing |
| 1295 |
|
browsing context (as opposed to leaving the current page in the |
| 1296 |
|
browsing context's <a href=#session-history>session history</a>). When three or |
| 1297 |
|
fewer arguments are provided, <var title="">replace</var> defaults |
| 1298 |
|
to false. |
| 1299 |
|
#ja |
| 1300 |
|
4つ目の引数 <var title="">replace</var> は、 <var title="">target</var> |
| 1301 |
|
が既存の閲覧文脈を識別する時に、 |
| 1302 |
|
閲覧文脈中に現在読み込まれている頁を |
| 1303 |
|
(閲覧文脈の<a href=#session-history>セッション履歴</a>に現在の頁を残さずに) |
| 1304 |
|
新しい頁が<a href=#replacement-enabled title="replacement |
| 1305 |
|
enabled">置き換える</a>かどうかを指定します。 |
| 1306 |
|
引数が3つ以下の場合、 <var title="">replace</var> には既定値の偽が用いられます。 |
| 1307 |
|
|
| 1308 |
|
#en |
| 1309 |
|
When the method is invoked, the user agent must first select a |
| 1310 |
|
<a href=#browsing-context>browsing context</a> to navigate by applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the |
| 1311 |
|
rules for choosing a browsing context given a browsing context |
| 1312 |
|
name</a> using the <var title="">target</var> argument as the |
| 1313 |
|
name and the <a href=#browsing-context>browsing context</a> of the script as the |
| 1314 |
|
context in which the algorithm is executed, unless the user has |
| 1315 |
|
indicated a preference, in which case the browsing context to |
| 1316 |
|
navigate may instead be the one indicated by the user. |
| 1317 |
|
#ja |
| 1318 |
|
利用者エージェントは、このメソッドが呼び出された時、まずは、 |
| 1319 |
|
<var title="">target</var> 引数を名前、スクリプトの<a href=#browsing-context>閲覧文脈</a>を算法が実行される文脈として用いて<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</a>を適用してナビゲーションを行う |
| 1320 |
|
<a href=#browsing-context>閲覧文脈</a>を選択しなければ[[MUST:なりません]]。 |
| 1321 |
|
ただし、利用者が希望を示した場合は例外で、その場合は利用者が示した閲覧文脈をナビゲーションを行うものとして[[MAY:構いません]]。 |
| 1322 |
|
|
| 1323 |
|
#en |
| 1324 |
|
For example, suppose there is a user agent that |
| 1325 |
|
supports control-clicking a link to open it in a new tab. If a user |
| 1326 |
|
clicks in that user agent on an element whose <code title=handler-onclick><a href=#handler-onclick>onclick</a></code> handler uses the <code title=dom-open><a href=#dom-open>window.open()</a></code> API to open a page in an |
| 1327 |
|
iframe, but, while doing so, holds the control key down, the user |
| 1328 |
|
agent could override the selection of the target browsing context to |
| 1329 |
|
instead target a new tab. |
| 1330 |
|
#ja |
| 1331 |
|
例えば、制御鍵を押しながらリンクをクリックすると新しいタブで開く利用者エージェントがあるとします。 |
| 1332 |
|
利用者がこの利用者エージェント上で <code title=handler-onclick><a href=#handler-onclick>onclick</a></code> 取扱器が <code title=dom-open><a href=#dom-open>window.open()</a></code> を用いて頁を iframe |
| 1333 |
|
で開く要素をクリックした場合で、利用者がクリック中に制御鍵を押し続けていた場合、 |
| 1334 |
|
利用者エージェントは対象閲覧文脈の選択を上書きして、代わりに新しいタブで開くことができます。 |
| 1335 |
|
|
| 1336 |
|
|
| 1337 |
|
#en |
| 1338 |
|
Then, the user agent must <a href=#navigate>navigate</a> the selected |
| 1339 |
|
<a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a> (or |
| 1340 |
|
error) obtained from <a href=#resolve-a-url title="resolve a url">resolving</a> |
| 1341 |
|
<var title="">url</var>. If the <var title="">replace</var> is true, |
| 1342 |
|
then <a href=#replacement-enabled title="replacement enabled">replacement must be |
| 1343 |
|
enabled</a>; otherwise, it must not be enabled unless the |
| 1344 |
|
<a href=#browsing-context>browsing context</a> was just created as part of the |
| 1345 |
|
<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a browsing |
| 1346 |
|
context name</a>. The navigation must be done with the |
| 1347 |
|
<a href=#script-browsing-context>script browsing context</a> of the script that invoked the |
| 1348 |
|
method as the <a href=#source-browsing-context>source browsing context</a>. |
| 1349 |
|
#ja |
| 1350 |
|
その後、利用者エージェントは選ばれた<a href=#browsing-context>閲覧文脈</a>を <var title="">url</var> |
| 1351 |
|
の<a href=#resolve-a-url title="resolve a url">解決</a>によって得られた<a href=#absolute-url>絶対 |
| 1352 |
|
URL</a> (または誤り) に<a href=#navigate>ナビゲーション</a>しなければ[[MUST:なりません]]。 |
| 1353 |
|
<var title="">replace</var> が真の場合、<a href=#replacement-enabled title="replacement enabled">置換を有効としなければ[[MUST:なりません]]</a>。そうでない場合、 |
| 1354 |
|
<a href=#browsing-context>閲覧文脈</a>が<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</a>の中で作成されたばかりである場合を除き、 |
| 1355 |
|
置換を有効としては[[MUST NOT:なりません]]。ナビゲーションは、 |
| 1356 |
|
メソッドを呼び出したスクリプトの<a href=#script-browsing-context>スクリプト閲覧文脈</a>を<a href=#source-browsing-context>原始閲覧文脈</a>として行わなければ[[MUST:なりません]]。 |
| 1357 |
|
|
| 1358 |
|
#en |
| 1359 |
|
The method must return the <code><a href=#window>Window</a></code> object of the |
| 1360 |
|
default view of the <a href=#browsing-context>browsing context</a> that was |
| 1361 |
|
navigated, or null if no browsing context was navigated. |
| 1362 |
|
#ja |
| 1363 |
|
メソッドはナビゲーションされる<a href=#browsing-context>閲覧文脈</a>の既定表示の <code><a href=#window>Window</a></code> |
| 1364 |
|
オブジェクトか、ナビゲーションされる閲覧文脈がない場合には null を返さなければ[[MUST:なりません]]。 |
| 1365 |
|
|
| 1366 |
|
#en |
| 1367 |
|
The <dfn id=dom-name title=dom-name><code>name</code></dfn> attribute of |
| 1368 |
|
the <code><a href=#window>Window</a></code> object must, on getting, return the current |
| 1369 |
|
name of the <a href=#browsing-context>browsing context</a>, and, on setting, set the |
| 1370 |
|
name of the <a href=#browsing-context>browsing context</a> to the new value. |
| 1371 |
|
#ja |
| 1372 |
|
<code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-name title=dom-name><code>name</code></dfn> |
| 1373 |
|
属性は、取得時には<a href=#browsing-context>閲覧文脈</a>の現在の名前を返し、 |
| 1374 |
|
設定時には<a href=#browsing-context>閲覧文脈</a>の名前を新しい値に設定しなければ[[MUST:なりません]]。 |
| 1375 |
|
|
| 1376 |
|
#en |
| 1377 |
|
The name <a href=#resetBCName>gets reset</a> when |
| 1378 |
|
the browsing context is navigated to another domain. |
| 1379 |
|
#ja |
| 1380 |
|
名前は、他のドメインにナビゲーションされた時に<a href=#resetBCName>再設定されます</a>。 |
| 1381 |
|
|
| 1382 |
|
#pattern |
| 1383 |
|
<span class=secno>* </span>Accessing other browsing contexts |
| 1384 |
|
#ja |
| 1385 |
|
<span class=secno>$1 </span>他の閲覧文脈へのアクセス |
| 1386 |
|
|
| 1387 |
|
#en |
| 1388 |
|
The <dfn id=dom-length title=dom-length><code>length</code></dfn> DOM |
| 1389 |
|
attribute on the <code><a href=#window>Window</a></code> interface must return the |
| 1390 |
|
number of <a href=#child-browsing-context title="child browsing context">child browsing |
| 1391 |
|
contexts</a> of the <a href=#active-document title="active document">active</a> |
| 1392 |
|
<code>Document</code>. |
| 1393 |
|
#ja |
| 1394 |
|
<code><a href=#window>Window</a></code> |
| 1395 |
|
界面の <dfn id=dom-length title=dom-length><code>length</code></dfn> DOM 属性は<a href=#active-document title="active document">活性</a> |
| 1396 |
|
<code>Document</code> の<a href=#child-browsing-context title="child browsing context">子閲覧文脈</a>の数を返さなければ[[MUST:なりません]]。 |
| 1397 |
|
|
| 1398 |
|
#pattern |
| 1399 |
|
<span class=secno>* </span>Origin |
| 1400 |
|
#ja |
| 1401 |
|
<span class=secno>$1 </span>起源 |
| 1402 |
|
|
| 1403 |
|
#en |
| 1404 |
|
The <dfn id=origin-0>origin</dfn> of a resource and the <dfn id=effective-script-origin>effective script |
| 1405 |
|
origin</dfn> of a resource are both either opaque identifiers or |
| 1406 |
|
tuples consisting of a scheme component, a host component, a port |
| 1407 |
|
component, and optionally extra data. |
| 1408 |
|
#ja |
| 1409 |
|
資源の<dfn id=origin-0>起源</dfn>と資源の<dfn id=effective-script-origin>実効スクリプト起源</dfn>は、いずれも、不透明な識別子か、または scheme 部品、 host 部品、 port 部品、任意選択で余剰データの組かのいずれかです。 |
| 1410 |
|
|
| 1411 |
|
#en |
| 1412 |
|
The extra data could include the certificate of the |
| 1413 |
|
site when using encrypted connections, to ensure that if the site's |
| 1414 |
|
secure certificate changes, the origin is considered to change as |
| 1415 |
|
well. |
| 1416 |
|
#ja |
| 1417 |
|
余剰データは、暗号化接続を使っている時に、サイトの保安証明書が変化した場合に起源も同時に変化したとみなすためにこれを含めることができます。 |
| 1418 |
|
|
| 1419 |
|
#en |
| 1420 |
|
For URLs |
| 1421 |
|
#ja |
| 1422 |
|
URL に関して |
| 1423 |
|
|
| 1424 |
|
#en |
| 1425 |
|
The <a href=#origin-0>origin</a> and <a href=#effective-script-origin>effective script |
| 1426 |
|
origin</a> of the <a href=#url>URL</a> is whatever is returned by |
| 1427 |
|
the following algorithm: |
| 1428 |
|
#ja |
| 1429 |
|
<a href=#url>URL</a> の<a href=#origin-0>起源</a>と<a href=#effective-script-origin>実効スクリプト起源</a>は、次の算法によって返されるものです。 |
| 1430 |
|
|
| 1431 |
|
#en |
| 1432 |
|
Let <var title="">url</var> be the <a href=#url>URL</a> for |
| 1433 |
|
which the <a href=#origin-0>origin</a> is being determined. |
| 1434 |
|
#ja |
| 1435 |
|
<var title="">url</var> を、<a href=#origin-0>起源</a>を決定しようとしている <a href=#url>URL</a> |
| 1436 |
|
とします。 |
| 1437 |
|
|
| 1438 |
|
#en |
| 1439 |
|
<a href=#parse-a-url title="parse a url">Parse</a> <var title="">url</var>. |
| 1440 |
|
#ja |
| 1441 |
|
<var title="">url</var> を<a href=#parse-a-url title="parse a url">構文解析</a>します。 |
| 1442 |
|
|
| 1443 |
|
#en |
| 1444 |
|
If <var title="">url</var> does not use a server-based |
| 1445 |
|
naming authority, or if parsing <var title="">url</var> failed, |
| 1446 |
|
or if <var title="">url</var> is not an <a href=#absolute-url>absolute |
| 1447 |
|
URL</a>, then return a new globally unique |
| 1448 |
|
identifier. |
| 1449 |
|
#ja |
| 1450 |
|
<var title="">url</var> が鯖型命名局を用いていない場合や、 |
| 1451 |
|
<var title="">url</var> の構文解析が失敗した場合や、 |
| 1452 |
|
<var title="">url</var> が<a href=#absolute-url>絶対 |
| 1453 |
|
URL</a> |
| 1454 |
|
でない場合、新しい大域的に固有な識別子を返します。 |
| 1455 |
|
|
| 1456 |
|
#en |
| 1457 |
|
Let <var title="">scheme</var> be the <a href=#url-scheme title=url-scheme><scheme></a> component of <var title="">url</var>, <a href=#converted-to-lowercase>converted to lowercase</a>. |
| 1458 |
|
#ja |
| 1459 |
|
<var title="">scheme</var> を、<var title="">url</var> の <a href=#url-scheme title=url-scheme><scheme></a> 部品を、<a href=#converted-to-lowercase>小文字に変換</a>したものとします。 |
| 1460 |
|
|
| 1461 |
|
#en |
| 1462 |
|
If the UA doesn't support the protocol given by <var title="">scheme</var>, then return a new globally unique |
| 1463 |
|
identifier. |
| 1464 |
|
#ja |
| 1465 |
|
利用者エージェントが <var title="">scheme</var> によって与えられるプロトコルに対応していない場合、 |
| 1466 |
|
新しい大域的に固有な識別子を返します。 |
| 1467 |
|
|
| 1468 |
|
|
| 1469 |
|
#en |
| 1470 |
|
If <var title="">scheme</var> is "<code title="">file</code>", then the user agent may return a |
| 1471 |
|
UA-specific value. |
| 1472 |
|
#ja |
| 1473 |
|
<var title="">scheme</var> が「<code title="">file</code>」 |
| 1474 |
|
の場合、利用者エージェントは利用者エージェント規定の値を返して[[MAY:構いません]]。 |
| 1475 |
|
|
| 1476 |
|
#en |
| 1477 |
|
Let <var title="">host</var> be the <a href=#url-host title=url-host><host></a> component of <var title="">url</var>. |
| 1478 |
|
#ja |
| 1479 |
|
<var title="">host</var> を、<var title="">url</var> の <a href=#url-host title=url-host><host></a> |
| 1480 |
|
部品とします。 |
| 1481 |
|
|
| 1482 |
|
#en |
| 1483 |
|
Apply the IDNA ToASCII algorithm to <var title="">host</var>, |
| 1484 |
|
with both the AllowUnassigned and UseSTD3ASCIIRules flags |
| 1485 |
|
set. Let <var title="">host</var> be the result of the ToASCII |
| 1486 |
|
algorithm. |
| 1487 |
|
#ja |
| 1488 |
|
<var title="">host</var> に対して、 IDNA ToASCII 算法を、 |
| 1489 |
|
AllowUnassigned 旗と UseSTD3ASCIIRules 旗の両方を設定して適用します。 |
| 1490 |
|
<var title="">host</var> を、 ToASCII 算法の結果とします。 |
| 1491 |
|
|
| 1492 |
|
#en |
| 1493 |
|
If ToASCII fails to convert one of the components of the |
| 1494 |
|
string, e.g. because it is too long or because it contains |
| 1495 |
|
invalid characters, then return a new globally unique |
| 1496 |
|
identifier. <a href=#refsRFC3490>[RFC3490]</a> |
| 1497 |
|
#ja |
| 1498 |
|
ToASCII が文字列の部品のいずれかの変換に失敗した場合、 |
| 1499 |
|
例えば長すぎたり非妥当な文字を含んだりして失敗した場合、 |
| 1500 |
|
新しい大域的に固有な識別子を返します。 <a href=#refsRFC3490>[RFC3490]</a> |
| 1501 |
|
|
| 1502 |
|
#en |
| 1503 |
|
Let <var title="">host</var> be the result of converting |
| 1504 |
|
<var title="">host</var> <a href=#converted-to-lowercase title="converted to lowercase">to |
| 1505 |
|
lowercase</a>. |
| 1506 |
|
#ja |
| 1507 |
|
<var title="">host</var> を、 <var title="">host</var> を<a href=#converted-to-lowercase title="converted to lowercase">小文字に</a>変換した結果とします。 |
| 1508 |
|
|
| 1509 |
|
#en |
| 1510 |
|
If there is no <a href=#url-port title=url-port><port></a> |
| 1511 |
|
component, then let <var title="">port</var> be the default port |
| 1512 |
|
for the protocol given by <var title="">scheme</var>. Otherwise, |
| 1513 |
|
let <var title="">port</var> be the <a href=#url-port title=url-port><port></a> component of <var title="">url</var>. |
| 1514 |
|
#ja |
| 1515 |
|
<a href=#url-port title=url-port><port></a> 部品がない場合、 |
| 1516 |
|
<var title="">port</var> を、 <var title="">scheme</var> によって与えられたプロトコルの既定のポートとします。 |
| 1517 |
|
そうでない場合、 <var title="">port</var> を、<var title="">url</var> の <a href=#url-port title=url-port><port></a> |
| 1518 |
|
部品とします。 |
| 1519 |
|
|
| 1520 |
|
#en |
| 1521 |
|
Return the tuple (<var title="">scheme</var>, <var title="">host</var>, <var title="">port</var>). |
| 1522 |
|
#ja |
| 1523 |
|
組 (<var title="">scheme</var>, <var title="">host</var>, <var title="">port</var>) |
| 1524 |
|
を返します。 |
| 1525 |
|
|
| 1526 |
|
#en |
| 1527 |
|
In addition, if the <a href=#url>URL</a> is in fact associated with |
| 1528 |
|
a <code>Document</code> object that was created by parsing the |
| 1529 |
|
resource obtained from fetching <a href=#url>URL</a>, and this was |
| 1530 |
|
done over a secure connection, then the server's secure |
| 1531 |
|
certificate may be added to the origin as additional data. |
| 1532 |
|
#ja |
| 1533 |
|
加えて、 <a href=#url>URL</a> が実は <a href=#url>URL</a> の取得によって得られた資源を構文解析することによって作られた <code>Document</code> オブジェクトと関連付けられており、 |
| 1534 |
|
その取得が安全な接続の上で行われた場合には、 |
| 1535 |
|
鯖の保安証明書を起源に追加データとして加えて[[MAY:構いません]]。 |
| 1536 |
|
|
| 1537 |
|
#en |
| 1538 |
|
For scripts |
| 1539 |
|
#ja |
| 1540 |
|
スクリプトに関して |
| 1541 |
|
|
| 1542 |
|
#en |
| 1543 |
|
The <a href=#origin-0>origin</a> and <a href=#effective-script-origin>effective script |
| 1544 |
|
origin</a> of a script are determined from another resource, |
| 1545 |
|
called the <i>owner</i>: |
| 1546 |
|
#ja |
| 1547 |
|
スクリプトの<a href=#origin-0>起源</a>と<a href=#effective-script-origin>実効スクリプト起源</a>は、<i>所有者</i>と呼ぶ他の資源によって決定されます。 |
| 1548 |
|
|
| 1549 |
|
#en |
| 1550 |
|
If a script is in a <code><a href=#script>script</a></code> element |
| 1551 |
|
#ja |
| 1552 |
|
スクリプトが <code><a href=#script>script</a></code> 要素中にある場合 |
| 1553 |
|
|
| 1554 |
|
#en |
| 1555 |
|
The owner is the <code>Document</code> to which the |
| 1556 |
|
<code><a href=#script>script</a></code> element belongs. |
| 1557 |
|
#ja |
| 1558 |
|
所有者は <code><a href=#script>script</a></code> 要素が所属する <code>Document</code> です。 |
| 1559 |
|
|
| 1560 |
|
#en |
| 1561 |
|
If a script is in an <a href=#event-handler-content-attributes title="event handler content attributes">event handler content attribute</a> |
| 1562 |
|
#ja |
| 1563 |
|
スクリプトが<a href=#event-handler-content-attributes title="event handler content attributes">事象取扱器内容属性</a>中にある場合 |
| 1564 |
|
|
| 1565 |
|
#en |
| 1566 |
|
The owner is the <code>Document</code> to which the |
| 1567 |
|
attribute node belongs. |
| 1568 |
|
#ja |
| 1569 |
|
所有者は属性節点が所属する <code>Document</code> です。 |
| 1570 |
|
|
| 1571 |
|
#en |
| 1572 |
|
If a script is a function or other code reference created by |
| 1573 |
|
another script |
| 1574 |
|
#ja |
| 1575 |
|
スクリプトが他のスクリプトによって作成された関数その他の符号参照の場合 |
| 1576 |
|
|
| 1577 |
|
#en |
| 1578 |
|
The owner is the script that created it. |
| 1579 |
|
#ja |
| 1580 |
|
所有者は作成したスクリプトです。 |
| 1581 |
|
|
| 1582 |
|
#en |
| 1583 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> that was returned as the |
| 1584 |
|
location of an HTTP redirect (or equivalent in other |
| 1585 |
|
protocols) |
| 1586 |
|
#ja |
| 1587 |
|
スクリプトが <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> であって、 |
| 1588 |
|
HTTP リダイレクト (または他のプロトコルの等価なもの) の所在として返されたものの場合 |
| 1589 |
|
|
| 1590 |
|
#en |
| 1591 |
|
The owner is the <a href=#url>URL</a> that redirected to the |
| 1592 |
|
<a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a>. |
| 1593 |
|
#ja |
| 1594 |
|
所有者は <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> |
| 1595 |
|
にリダイレクトした <a href=#url>URL</a> です。 |
| 1596 |
|
|
| 1597 |
|
#en |
| 1598 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> in an attribute |
| 1599 |
|
#ja |
| 1600 |
|
スクリプトが属性中の <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> の場合 |
| 1601 |
|
|
| 1602 |
|
#en |
| 1603 |
|
The owner is the <code>Document</code> of the element on |
| 1604 |
|
which the attribute is found. |
| 1605 |
|
#ja |
| 1606 |
|
所有者は属性がある要素の <code>Document</code> です。 |
| 1607 |
|
|
| 1608 |
|
#en |
| 1609 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> in a style sheet |
| 1610 |
|
#ja |
| 1611 |
|
スクリプトがスタイル・シート中の <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> の場合 |
| 1612 |
|
|
| 1613 |
|
#en |
| 1614 |
|
The owner is the <a href=#url>URL</a> of the style sheet. |
| 1615 |
|
#ja |
| 1616 |
|
所有者はスタイル・シートの <a href=#url>URL</a> です。 |
| 1617 |
|
|
| 1618 |
|
#en |
| 1619 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> to which a <a href=#browsing-context>browsing |
| 1620 |
|
context</a> is being <a href=#navigate title=navigate>navigated</a>, |
| 1621 |
|
the URL having been provided by the user (e.g. by using a |
| 1622 |
|
<i>bookmarklet</i>) |
| 1623 |
|
#ja |
| 1624 |
|
スクリプトが <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> であって、 |
| 1625 |
|
<a href=#browsing-context>閲覧文脈</a>がその URL へ<a href=#navigate title=navigate>ナビゲーション</a>されていて、 |
| 1626 |
|
その URL が利用者によって |
| 1627 |
|
(例えば<i>ブックマークレット</i>を使うことによって) |
| 1628 |
|
提供されたものである場合 |
| 1629 |
|
|
| 1630 |
|
#en |
| 1631 |
|
The owner is the <code>Document</code> of the <a href=#browsing-context>browsing |
| 1632 |
|
context</a>'s <a href=#active-document>active document</a>. |
| 1633 |
|
#ja |
| 1634 |
|
所有者は<a href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>の <code>Document</code> |
| 1635 |
|
です。 |
| 1636 |
|
|
| 1637 |
|
#en |
| 1638 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> to which a <a href=#browsing-context>browsing |
| 1639 |
|
context</a> is being <a href=#navigate title=navigate>navigated</a>, |
| 1640 |
|
the URL having been declared in markup |
| 1641 |
|
#ja |
| 1642 |
|
スクリプトが <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> であって、 |
| 1643 |
|
<a href=#browsing-context>閲覧文脈</a>がその URL に<a href=#navigate title=navigate>ナビゲーション</a>されており、 |
| 1644 |
|
その URL がマーク付け中に宣言されていた場合 |
| 1645 |
|
|
| 1646 |
|
#en |
| 1647 |
|
The owner is the <code>Document</code> of the element |
| 1648 |
|
(e.g. an <code><a href=#the-a-element>a</a></code> or <code><a href=#the-area-element>area</a></code> element) that |
| 1649 |
|
declared the URL. |
| 1650 |
|
#ja |
| 1651 |
|
所有者は当該 URL を宣言している要素 |
| 1652 |
|
(例えば <code><a href=#the-a-element>a</a></code> 要素や |
| 1653 |
|
<code><a href=#the-area-element>area</a></code> 要素) |
| 1654 |
|
の <code>Document</code> です。 |
| 1655 |
|
|
| 1656 |
|
#en |
| 1657 |
|
If a script is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> to which a <a href=#browsing-context>browsing |
| 1658 |
|
context</a> is being <a href=#navigate title=navigate>navigated</a>, |
| 1659 |
|
the URL having been provided by script |
| 1660 |
|
#ja |
| 1661 |
|
スクリプトが <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code> URL</a> であって、その URL |
| 1662 |
|
に<a href=#browsing-context>閲覧文脈</a>が<a href=#navigate title=navigate>ナビゲーション</a>されており、 |
| 1663 |
|
その URL がスクリプトにより提供された場合 |
| 1664 |
|
|
| 1665 |
|
#en |
| 1666 |
|
The owner is the script that provided the URL. |
| 1667 |
|
#ja |
| 1668 |
|
所有者は当該 URL を提供したスクリプトです。 |
| 1669 |
|
|
| 1670 |
|
#en |
| 1671 |
|
The <a href=#origin-0>origin</a> of the script is then equal to the |
| 1672 |
|
<a href=#origin-0>origin</a> of the owner, and the <a href=#effective-script-origin>effective script |
| 1673 |
|
origin</a> of the script is equal to the <a href=#effective-script-origin>effective script |
| 1674 |
|
origin</a> of the owner. |
| 1675 |
|
#ja |
| 1676 |
|
さて、スクリプトの<a href=#origin-0>起源</a>は所有者の<a href=#origin-0>起源</a>と等しく、 |
| 1677 |
|
スクリプトの<a href=#effective-script-origin>実効スクリプト起源</a>は所有者の<a href=#effective-script-origin>実効スクリプト起源</a>と等しいです。 |
| 1678 |
|
|
| 1679 |
|
#en |
| 1680 |
|
For <code>Document</code> objects and images |
| 1681 |
|
#ja |
| 1682 |
|
<code>Document</code> オブジェクトと画像に関して |
| 1683 |
|
|
| 1684 |
|
#en |
| 1685 |
|
If a <code>Document</code> is in a |
| 1686 |
|
<a href=#browsing-context>browsing context</a> whose <a href=#sandboxed-origin-browsing-context-flag>sandboxed origin |
| 1687 |
|
browsing context flag</a> is set |
| 1688 |
|
#ja |
| 1689 |
|
<code>Document</code> が<a href=#sandboxed-origin-browsing-context-flag>砂箱化起源閲覧文脈旗</a>の設定された<a href=#browsing-context>閲覧文脈</a>中にある場合 |
| 1690 |
|
|
| 1691 |
|
#en |
| 1692 |
|
The <a href=#origin-0>origin</a> is a globally unique identifier |
| 1693 |
|
assigned when the <code>Document</code> is created. |
| 1694 |
|
#ja |
| 1695 |
|
<a href=#origin-0>起源</a>は <code>Document</code> が作成された時に割り当てられた大域的に固有な識別子です。 |
| 1696 |
|
|
| 1697 |
|
#en |
| 1698 |
|
If a <code>Document</code> or image was returned by the |
| 1699 |
|
<code>XMLHttpRequest</code> API |
| 1700 |
|
#ja |
| 1701 |
|
<code>Document</code> や画像が <code>XMLHttpRequest</code> API |
| 1702 |
|
により返された場合 |
| 1703 |
|
|
| 1704 |
|
#en |
| 1705 |
|
The <a href=#origin-0>origin</a> and <a href=#effective-script-origin>effective script |
| 1706 |
|
origin</a> are equal to the <a href=#origin-0>origin</a> and |
| 1707 |
|
<a href=#effective-script-origin>effective script origin</a> of the <code>Document</code> |
| 1708 |
|
object that was the <a href=#active-document>active document</a> of the browsing context of the |
| 1709 |
|
<code><a href=#window>Window</a></code> object from which the |
| 1710 |
|
<code>XMLHttpRequest</code> constructor was invoked. (That is, |
| 1711 |
|
they track the <code>Document</code> to which the |
| 1712 |
|
<code>XMLHttpRequest</code> object's <a href=http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#document-pointer><code>Document</code> |
| 1713 |
|
pointer</a> pointed when it was created.) <a href=#refsXHR>[XHR]</a> |
| 1714 |
|
#ja |
| 1715 |
|
<a href=#origin-0>起源</a>と<a href=#effective-script-origin>実効スクリプト起源</a>は、 |
| 1716 |
|
<code>XMLHttpRequest</code> 構築子が呼び出された <code><a href=#window>Window</a></code> |
| 1717 |
|
オブジェクトの閲覧文脈の<a href=#active-document>活性文書</a>であった <code>Document</code> |
| 1718 |
|
の<a href=#origin-0>起源</a>と<a href=#effective-script-origin>実効スクリプト起源</a>と等しいです。 |
| 1719 |
|
(つまり、 <code>XMLHttpRequest</code> オブジェクトが作成された時の <a href=http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#document-pointer><code>Document</code> |
| 1720 |
|
指示子</a>が指していた <code>Document</code> を追跡します。) |
| 1721 |
|
|
| 1722 |
|
#en |
| 1723 |
|
If a <code>Document</code> or image was generated from a |
| 1724 |
|
<a href=#javascript-protocol title="javascript protocol"><code>javascript:</code> |
| 1725 |
|
URL</a> |
| 1726 |
|
#ja |
| 1727 |
|
<code>Document</code> や画像が <a href=#javascript-protocol title="javascript protocol"><code>javascript:</code> |
| 1728 |
|
URL</a> により生成された場合 |
| 1729 |
|
|
| 1730 |
|
#en |
| 1731 |
|
The <a href=#origin-0>origin</a> is equal to the <a href=#origin-0>origin</a> |
| 1732 |
|
of the script of that <a href=#javascript-protocol title="javascript |
| 1733 |
|
protocol"><code>javascript:</code> URL</a>. |
| 1734 |
|
#ja |
| 1735 |
|
<a href=#origin-0>起源</a>は当該 <a href=#javascript-protocol title="javascript |
| 1736 |
|
protocol"><code>javascript:</code> URL</a> のスクリプトの<a href=#origin-0>起源</a>と等しいです。 |
| 1737 |
|
|
| 1738 |
|
#en |
| 1739 |
|
If a <code>Document</code> or image was served over the |
| 1740 |
|
network and has an address that uses a URL scheme with a |
| 1741 |
|
server-based naming authority |
| 1742 |
|
#ja |
| 1743 |
|
<code>Document</code> や画像がネットワーク上で供給されたもので、鯖型命名局を用いる URL |
| 1744 |
|
scheme を使った番地を有する場合 |
| 1745 |
|
|
| 1746 |
|
#en |
| 1747 |
|
The <a href=#origin-0>origin</a> is the <a href=#origin-0>origin</a> of the |
| 1748 |
|
<span title="the document's address">address</span><!-- XXXDOCURL |
| 1749 |
|
--> of the <code>Document</code> or image. |
| 1750 |
|
#ja |
| 1751 |
|
<a href=#origin-0>起源</a>は <code>Document</code> や画像の<span title="the document's address">番地</span><!-- XXXDOCURL |
| 1752 |
|
-->の<a href=#origin-0>起源</a>です。 |
| 1753 |
|
|
| 1754 |
|
#en |
| 1755 |
|
If a <code>Document</code> or image was generated from a |
| 1756 |
|
<code title="">data:</code> URL that was returned as the location |
| 1757 |
|
of an HTTP redirect (or equivalent in other protocols) |
| 1758 |
|
#ja |
| 1759 |
|
<code>Document</code> や画像が HTTP リダイレクト (や他のプロトコルの等価なもの) |
| 1760 |
|
の所在として返された <code title="">data:</code> URL により生成された場合 |
| 1761 |
|
|
| 1762 |
|
#en |
| 1763 |
|
The <a href=#origin-0>origin</a> is the <a href=#origin-0>origin</a> of the |
| 1764 |
|
<a href=#url>URL</a> that redirected to the <code title="">data:</code> URL. |
| 1765 |
|
#ja |
| 1766 |
|
<a href=#origin-0>起源</a>は <code title="">data:</code> URL にリダイレクトした |
| 1767 |
|
<a href=#url>URL</a> の<a href=#origin-0>起源</a>です。 |
| 1768 |
|
|
| 1769 |
|
#en |
| 1770 |
|
If a <code>Document</code> or image was generated from a |
| 1771 |
|
<code title="">data:</code> URL found in another |
| 1772 |
|
<code>Document</code> or in a script |
| 1773 |
|
#ja |
| 1774 |
|
<code>Document</code> や画像が他の <code>Document</code> かスクリプトの中にあった <code title="">data:</code> URL |
| 1775 |
|
から生成された場合 |
| 1776 |
|
|
| 1777 |
|
#en |
| 1778 |
|
The <a href=#origin-0>origin</a> is the <a href=#origin-0>origin</a> of the |
| 1779 |
|
<code>Document</code> or script in which the <code title="">data:</code> URL was found. |
| 1780 |
|
#ja |
| 1781 |
|
<a href=#origin-0>起源</a>は当該 <code title="">data:</code> URL |
| 1782 |
|
があった <code>Document</code> やスクリプトの<a href=#origin-0>起源</a>です。 |
| 1783 |
|
|
| 1784 |
|
#en |
| 1785 |
|
If a <code>Document</code> has the <span title="the |
| 1786 |
|
document's address">address</span><!-- XXXDOCURL --> |
| 1787 |
|
"<code><a href=#about:blank>about:blank</a></code>" |
| 1788 |
|
#ja |
| 1789 |
|
<code>Document</code> が<span title="the |
| 1790 |
|
document's address">番地</span><!-- XXXDOCURL -->「<code><a href=#about:blank>about:blank</a></code>」 |
| 1791 |
|
を持つ場合 |
| 1792 |
|
|
| 1793 |
|
#en |
| 1794 |
|
The <a href=#origin-0>origin</a> of the <code>Document</code> is <a href=#about-blank-origin>the <span>origin</span> it was |
| 1795 |
|
assigned when its browsing context was created</a>. |
| 1796 |
|
#ja |
| 1797 |
|
<code>Document</code> の<a href=#origin-0>起源</a>は<a href=#about-blank-origin>当該閲覧文脈が作成された時に割り当てられた<span>起源</span></a>です。 |
| 1798 |
|
|
| 1799 |
|
#en |
| 1800 |
|
If a <code>Document</code> or image was obtained in some |
| 1801 |
|
other manner (e.g. a <code title="">data:</code> URL typed in by |
| 1802 |
|
the user, a <code>Document</code> created using the <code title="">createDocument()</code> API, a <code title="">data:</code> URL returned as the location of an HTTP |
| 1803 |
|
redirect, etc) |
| 1804 |
|
#ja |
| 1805 |
|
<code>Document</code> や画像がその他の方法で得られた場合 (例えば利用者によって打鍵された <code title="">data:</code> URL |
| 1806 |
|
の場合、 <code title="">createDocument()</code> API を使って作られた <code>Document</code> |
| 1807 |
|
の場合、 HTTP リダイレクトの所在として返された <code title="">data:</code> URL の場合など) |
| 1808 |
|
|
| 1809 |
|
#en |
| 1810 |
|
The <a href=#origin-0>origin</a> is a globally unique identifier |
| 1811 |
|
assigned when the <code>Document</code> or image is created. |
| 1812 |
|
#ja |
| 1813 |
|
<a href=#origin-0>起源</a>は <code>Document</code> や画像が作成された時に割り当てられた大域的に固有な識別子です。 |
| 1814 |
|
|
| 1815 |
|
#en |
| 1816 |
|
When a <code>Document</code> is created, unless stated |
| 1817 |
|
otherwise above, its <a href=#effective-script-origin>effective script origin</a> is |
| 1818 |
|
initialized to the <a href=#origin-0>origin</a> of the |
| 1819 |
|
<code>Document</code>. However, the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute can |
| 1820 |
|
be used to change it. |
| 1821 |
|
#ja |
| 1822 |
|
<code>Document</code> が作成された時、既に述べた場合を除き、 |
| 1823 |
|
<a href=#effective-script-origin>実効スクリプト起源</a>は <code>Document</code> |
| 1824 |
|
の<a href=#origin-0>起源</a>に初期化されます。しかし、 |
| 1825 |
|
<code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> |
| 1826 |
|
を使ってこれを変更することができます。 |
| 1827 |
|
|
| 1828 |
|
#en |
| 1829 |
|
The <dfn id=unicode-serialization-of-an-origin>Unicode serialization of an origin</dfn> is the string |
| 1830 |
|
obtained by applying the following algorithm to the given |
| 1831 |
|
<a href=#origin-0>origin</a>: |
| 1832 |
|
#ja |
| 1833 |
|
<dfn id=unicode-serialization-of-an-origin>起源の Unicode 直列化</dfn>は、 |
| 1834 |
|
与えられた<a href=#origin-0>起源</a>に次の算法を適用することによって得られる文字列です。 |
| 1835 |
|
|
| 1836 |
|
#en |
| 1837 |
|
Otherwise, let <var title="">result</var> be the scheme part |
| 1838 |
|
of the <a href=#origin-0>origin</a> tuple. |
| 1839 |
|
#ja |
| 1840 |
|
そうでない場合、 <var title="">result</var> を、<a href=#origin-0>origin</a> |
| 1841 |
|
組の scheme 部分とします。 |
| 1842 |
|
|
| 1843 |
|
#en |
| 1844 |
|
Append the string "<code title="">://</code>" to <var title="">result</var>. |
| 1845 |
|
#ja |
| 1846 |
|
文字列「<code title="">://</code>」を <var title="">result</var> の末尾に追加します。 |
| 1847 |
|
|
| 1848 |
|
#en |
| 1849 |
|
Apply the IDNA ToUnicode algorithm to each component of the |
| 1850 |
|
host part of the <a href=#origin-0>origin</a> tuple, and append the results |
| 1851 |
|
— each component, in the same order, separated by U+002E FULL |
| 1852 |
|
STOP characters (".") — to <var title="">result</var>. |
| 1853 |
|
#ja |
| 1854 |
|
IDNA ToUnicode 算法を <a href=#origin-0>origin</a> 組の host 部分の各部品に適用し、 |
| 1855 |
|
各部品の結果を同じ順序で U+002E FULL |
| 1856 |
|
STOP 文字 (".") で分離して <var title="">result</var> の末尾に追加します。 |
| 1857 |
|
|
| 1858 |
|
#en |
| 1859 |
|
If the port part of the <a href=#origin-0>origin</a> tuple gives a port |
| 1860 |
|
that is different from the default port for the protocol given by |
| 1861 |
|
the scheme part of the <a href=#origin-0>origin</a> tuple, then append a |
| 1862 |
|
U+003A COLON character (":") and the given port, in base ten, to |
| 1863 |
|
<var title="">result</var>. |
| 1864 |
|
#ja |
| 1865 |
|
<a href=#origin-0>起源</a>組の port 部分が <a href=#origin-0>起源</a> |
| 1866 |
|
組の scheme 部分で与えられるプロトコルの既定のポートと異なるポートである場合、 |
| 1867 |
|
U+003A COLON 文字 (":") と与えられたポートを十進数で <var title="">result</var> |
| 1868 |
|
の末尾に追加します。 |
| 1869 |
|
|
| 1870 |
|
#en |
| 1871 |
|
The <dfn id=ascii-serialization-of-an-origin>ASCII serialization of an origin</dfn> is the string |
| 1872 |
|
obtained by applying the following algorithm to the given |
| 1873 |
|
<a href=#origin-0>origin</a>: |
| 1874 |
|
#ja |
| 1875 |
|
<dfn id=ascii-serialization-of-an-origin>起源の ASCII 直列化</dfn>は、 |
| 1876 |
|
与えられた<a href=#origin-0>起源</a>に次の算法を適用して得られる文字列です。 |
| 1877 |
|
|
| 1878 |
|
#en |
| 1879 |
|
Apply the IDNA ToASCII algorithm the host part of the |
| 1880 |
|
<a href=#origin-0>origin</a> tuple, with both the AllowUnassigned and |
| 1881 |
|
UseSTD3ASCIIRules flags set, and append the results <var title="">result</var>. |
| 1882 |
|
#ja |
| 1883 |
|
<a href=#origin-0>起源</a>組の host 部分に ToASCII 算法を AllowUnassigned |
| 1884 |
|
旗と UseSTD3ASCIIRules 旗の両方を設定して適用し、結果を <var title="">result</var> |
| 1885 |
|
の末尾に追加します。 |
| 1886 |
|
|
| 1887 |
|
#en |
| 1888 |
|
If ToASCII fails to convert one of the components of the |
| 1889 |
|
string, e.g. because it is too long or because it contains invalid |
| 1890 |
|
characters, then return the empty string and abort these steps. <a href=#refsRFC3490>[RFC3490]</a> |
| 1891 |
|
#ja |
| 1892 |
|
ToASCII が文字列の部品のいずれかの変換に失敗した場合、 |
| 1893 |
|
例えば長過ぎたり非妥当な文字を含んだりして失敗した場合には、 |
| 1894 |
|
空文字列を返し、これらの段階を停止します。 <a href=#refsRFC3490>[RFC3490]</a> |
| 1895 |
|
|
| 1896 |
|
#en |
| 1897 |
|
Two <a href=#origin-0 title=origin>origins</a> are said to be the |
| 1898 |
|
<dfn id=same-origin>same origin</dfn> if the following algorithm returns true: |
| 1899 |
|
#ja |
| 1900 |
|
次の算法が真を返す場合、2つの<a href=#origin-0 title=origin>起源</a>は<dfn id=same-origin>同起源</dfn>であるといいます。 |
| 1901 |
|
|
| 1902 |
|
#en |
| 1903 |
|
Let <var title="">A</var> be the first <a href=#origin-0>origin</a> |
| 1904 |
|
being compared, and <var title="">B</var> be the second |
| 1905 |
|
<a href=#origin-0>origin</a> being compared. |
| 1906 |
|
#ja |
| 1907 |
|
<var title="">A</var> を比較する最初の<a href=#origin-0>起源</a>とし、 |
| 1908 |
|
<var title="">B</var> を比較する2つ目の<a href=#origin-0>起源</a>とします。 |
| 1909 |
|
|
| 1910 |
|
#en |
| 1911 |
|
If <var title="">A</var> and <var title="">B</var> are both |
| 1912 |
|
opaque identifiers, and their value is equal, then return |
| 1913 |
|
true. |
| 1914 |
|
#ja |
| 1915 |
|
<var title="">A</var> と <var title="">B</var> の両方が不透明な識別子であり、 |
| 1916 |
|
両者の値が等しければ、真を返します。 |
| 1917 |
|
|
| 1918 |
|
#en |
| 1919 |
|
Otherwise, if either <var title="">A</var> or <var title="">B</var> or both are opaque identifiers, return |
| 1920 |
|
false. |
| 1921 |
|
#ja |
| 1922 |
|
そうでない場合、 <var title="">A</var> と <var title="">B</var> の一方または両方が不透明な文字列であれば、 |
| 1923 |
|
偽を返します。 |
| 1924 |
|
|
| 1925 |
|
#en |
| 1926 |
|
If <var title="">A</var> and <var title="">B</var> have |
| 1927 |
|
scheme components that are not identical, return false. |
| 1928 |
|
#ja |
| 1929 |
|
<var title="">A</var> と <var title="">B</var> の scheme 部品が同一でない場合、 |
| 1930 |
|
偽を返します。 |
| 1931 |
|
|
| 1932 |
|
#en |
| 1933 |
|
If <var title="">A</var> and <var title="">B</var> have host |
| 1934 |
|
components that are not identical, return false. |
| 1935 |
|
#ja |
| 1936 |
|
<var title="">A</var> と <var title="">B</var> の host 部品が同一でない場合、 |
| 1937 |
|
偽を返します。 |
| 1938 |
|
|
| 1939 |
|
#en |
| 1940 |
|
If <var title="">A</var> and <var title="">B</var> have port |
| 1941 |
|
components that are not identical, return false. |
| 1942 |
|
#ja |
| 1943 |
|
<var title="">A</var> と <var title="">B</var> の port 部品が同一でない場合、 |
| 1944 |
|
偽を返します。 |
| 1945 |
|
|
| 1946 |
|
#en |
| 1947 |
|
If either <var title="">A</var> or <var title="">B</var> |
| 1948 |
|
have additional data, but that data is not identical for both, |
| 1949 |
|
return false. |
| 1950 |
|
#ja |
| 1951 |
|
<var title="">A</var> と <var title="">B</var> のいずれかが追加データを持ち、 |
| 1952 |
|
そのデータが両者同一でない場合、 |
| 1953 |
|
偽を返します。 |
| 1954 |
|
|
| 1955 |
|
#pattern |
| 1956 |
|
<span class=secno>* </span>Relaxing the same-origin restriction |
| 1957 |
|
#ja |
| 1958 |
|
<span class=secno>$1 </span>同起源制限の緩和 |
| 1959 |
|
|
| 1960 |
|
#en |
| 1961 |
|
The <dfn id=dom-document-domain title=dom-document-domain><code>domain</code></dfn> |
| 1962 |
|
attribute on <code>Document</code> objects must be initialized to |
| 1963 |
|
<a href="#the-document's-domain">the document's domain</a>, if it has one, and the empty |
| 1964 |
|
string otherwise. On getting, the attribute must return its current |
| 1965 |
|
value, unless the document was created by |
| 1966 |
|
<code>XMLHttpRequest</code>, in which case it must throw an |
| 1967 |
|
<code>INVALID_ACCESS_ERR</code> exception. On setting, the user |
| 1968 |
|
agent must run the following algorithm: |
| 1969 |
|
#ja |
| 1970 |
|
<code>Document</code> オブジェクトの <dfn id=dom-document-domain title=dom-document-domain><code>domain</code></dfn> |
| 1971 |
|
属性は、<a href="#the-document's-domain">文書のドメイン</a>を持つ場合にはそれに、 |
| 1972 |
|
そうでない場合には空文字列に初期化されなければ[[MUST:なりません]]。 |
| 1973 |
|
取得時、属性は現在の値を返さなければ[[MUST:なりません]]。 |
| 1974 |
|
ただし、文書が <code>XMLHttpRequest</code> により作成された場合は例外で、 |
| 1975 |
|
その場合は <code>INVALID_ACCESS_ERR</code> 例外を投げなければ[[MUST:なりません]]。 |
| 1976 |
|
設定時、利用者エージェントは次の算法を走らせなければ[[MUST:なりません]]。 |
| 1977 |
|
|
| 1978 |
|
#en |
| 1979 |
|
If the document was created by <code>XMLHttpRequest</code>, |
| 1980 |
|
throw an <code>INVALID_ACCESS_ERR</code> exception and abort these |
| 1981 |
|
steps. |
| 1982 |
|
#ja |
| 1983 |
|
文書が <code>XMLHttpRequest</code> により作成された場合、 |
| 1984 |
|
<code>INVALID_ACCESS_ERR</code> 例外を投げ、 |
| 1985 |
|
これらの段階を停止しなければ[[MUST:なりません]]。 |
| 1986 |
|
|
| 1987 |
|
#en |
| 1988 |
|
Apply the IDNA ToASCII algorithm to the new value, with both |
| 1989 |
|
the AllowUnassigned and UseSTD3ASCIIRules flags set. Let <var title="">new value</var> be the result of the ToASCII |
| 1990 |
|
algorithm. |
| 1991 |
|
#ja |
| 1992 |
|
新しい値に IDNA ToASCII 算法を、 AllowUnassigned 旗と UseSTD3ASCIIRules |
| 1993 |
|
旗の両方を設定して適用します。 <var title="">new value</var> を、 |
| 1994 |
|
ToASCII 算法の結果とします。 |
| 1995 |
|
|
| 1996 |
|
#en |
| 1997 |
|
If ToASCII fails to convert one of the components of the |
| 1998 |
|
string, e.g. because it is too long or because it contains invalid |
| 1999 |
|
characters, then throw a <a href=#security-exception>security exception</a> and abort |
| 2000 |
|
these steps. <a href=#refsRFC3490>[RFC3490]</a> |
| 2001 |
|
#ja |
| 2002 |
|
ToASCII が文字列の部品のいずれかの変換に失敗した場合、 |
| 2003 |
|
例えば長過ぎたり非妥当な文字を含んでいたりして失敗した場合には、 |
| 2004 |
|
<a href=#security-exception>保安性例外</a>を投げ、 |
| 2005 |
|
これらの段階を停止します。 <a href=#refsRFC3490>[RFC3490]</a> |
| 2006 |
|
|
| 2007 |
|
#en |
| 2008 |
|
If <var title="">new value</var> is not exactly equal to the |
| 2009 |
|
current value of the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute, then |
| 2010 |
|
run these substeps: |
| 2011 |
|
#ja |
| 2012 |
|
<var title="">new value</var> が <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> 属性の現在の値と正確に等しくない場合、 |
| 2013 |
|
次の部分段階を走らせます。 |
| 2014 |
|
|
| 2015 |
|
#en |
| 2016 |
|
If the current value is an IP address, throw a <a href=#security-exception>security |
| 2017 |
|
exception</a> and abort these steps. |
| 2018 |
|
#ja |
| 2019 |
|
現在の値が IP 番地の場合、<a href=#security-exception>保安性例外</a>を投げ、 |
| 2020 |
|
これらの段階を停止します。 |
| 2021 |
|
|
| 2022 |
|
#en |
| 2023 |
|
If <var title="">new value</var>, prefixed by a U+002E FULL |
| 2024 |
|
STOP ("."), does not exactly match the end of the current value, |
| 2025 |
|
throw a <a href=#security-exception>security exception</a> and abort these |
| 2026 |
|
steps. |
| 2027 |
|
#ja |
| 2028 |
|
<var title="">new value</var> に U+002E FULL |
| 2029 |
|
STOP (".") を接頭辞として連結したものが現在の値の終わりに正確に一致しない場合、 |
| 2030 |
|
<a href=#security-exception>保安性例外</a>を投げ、これらの段階を停止します。 |
| 2031 |
|
|
| 2032 |
|
#en |
| 2033 |
|
Set the attribute's value to <var title="">new value</var>. |
| 2034 |
|
#ja |
| 2035 |
|
属性の値を <var title="">new value</var> に設定します。 |