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

Diff of /markup/html/html5/spec-ja/data/apis.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Tue Jun 24 14:15:44 2008 UTC revision 1.4 by apache, Tue Aug 12 10:53:33 2008 UTC
# Line 1  Line 1 
1  #en  #pattern
2    The <code><a href="#htmlcollection0">HTMLCollection</a></code> interface  <span class=secno>* </span>The * interface
3     represents a generic <a href="#collections0"  #ja
4     title=collections>collection</a> of elements.  <span class=secno>$1 </span>$2 界面
5  #ja  
6  <code><a href="#htmlcollection0">HTMLCollection</a></code>  #en
7  界面は、一般的な要素の<a href="#collections0"    The <code><a href="#htmlcollection0">HTMLCollection</a></code> interface
8     title=collections>集成</a>を表します。     represents a generic <a href="#collections0"
9       title=collections>collection</a> of elements.
10  #en  #ja
11    The <dfn id=length  <code><a href="#htmlcollection0">HTMLCollection</a></code>
12     title=dom-HTMLCollection-length><code>length</code></dfn> attribute must  界面は、一般的な要素の<a href="#collections0"
13     return the number of nodes <a href="#represents">represented by the     title=collections>集成</a>を表します。
14     collection</a>.  
15  #ja  #en
16  <dfn id=length    The <dfn id=length
17     title=dom-HTMLCollection-length><code>length</code></dfn>     title=dom-HTMLCollection-length><code>length</code></dfn> attribute must
18  属性は<a href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。     return the number of nodes <a href="#represents">represented by the
19       collection</a>.
20  #en  #ja
21    The <dfn id=itemindex title=dom-HTMLCollection-item><code>item(<var  <dfn id=length
22     title="">index</var>)</code></dfn> method must return the <var     title=dom-HTMLCollection-length><code>length</code></dfn>
23     title="">index</var>th node in the collection. If there is no <var  属性は<a href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。
24     title="">index</var>th node in the collection, then the method must return  
25     null.  #en
26  #ja    The <dfn id=itemindex title=dom-HTMLCollection-item><code>item(<var
27  <dfn id=itemindex title=dom-HTMLCollection-item><code>item(<var     title="">index</var>)</code></dfn> method must return the <var
28     title="">index</var>)</code></dfn> メソッドは集成中の <var     title="">index</var>th node in the collection. If there is no <var
29     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。     title="">index</var>th node in the collection, then the method must return
30  集成中の <var     null.
31     title="">index</var> 番目の節点が存在しない場合は、  #ja
32  メソッドは null を返さなければなりません。  <dfn id=itemindex title=dom-HTMLCollection-item><code>item(<var
33       title="">index</var>)</code></dfn> メソッドは集成中の <var
34  #en     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。
35    The <dfn id=nameditem  集成中の <var
36     title=dom-HTMLCollection-namedItem><code>namedItem(<var     title="">index</var> 番目の節点が存在しない場合は、
37     title="">key</var>)</code></dfn> method must return the first node in the  メソッドは null を返さなければなりません。
38     collection that matches the following requirements:  
39  #ja  #en
40  <dfn id=nameditem    The <dfn id=nameditem
41     title=dom-HTMLCollection-namedItem><code>namedItem(<var     title=dom-HTMLCollection-namedItem><code>namedItem(<var
42     title="">key</var>)</code></dfn> メソッドは集成中で次のいずれかの要件に一致する最初の節点を返さなければ[[MUST:なりません]]:     title="">key</var>)</code></dfn> method must return the first node in the
43       collection that matches the following requirements:
44  #en  #ja
45     It is an <code><a href="#a">a</a></code>, <code><a  <dfn id=nameditem
46      href="#applet">applet</a></code>, <code><a href="#area">area</a></code>,     title=dom-HTMLCollection-namedItem><code>namedItem(<var
47      <code>form</code>, <code><a href="#img">img</a></code>, or <code><a     title="">key</var>)</code></dfn> メソッドは、
48      href="#object">object</a></code> element with a <code  集成中で次のいずれかの要件に一致する最初の節点を返さなければ[[MUST:なりません]]。
49      title=attr-name>name</code> attribute equal to <var title="">key</var>,  
50      or,  #en
51  #ja     It is an <code><a href="#a">a</a></code>, <code><a
52  <code><a href="#a">a</a></code>、<code><a      href="#applet">applet</a></code>, <code><a href="#area">area</a></code>,
53      href="#applet">applet</a></code>、<code><a href="#area">area</a></code>、      <code>form</code>, <code><a href="#img">img</a></code>, or <code><a
54      <code>form</code>、 <code><a href="#img">img</a></code>、 <code><a      href="#object">object</a></code> element with a <code
55      href="#object">object</a></code> のいずれかの要素であって、 <code      title=attr-name>name</code> attribute equal to <var title="">key</var>,
56      title=attr-name>name</code> 属性が <var title="">key</var>      or,
57  と等しいもの  #ja
58    <code><a href="#a">a</a></code>、<code><a
59  #en      href="#applet">applet</a></code>、<code><a href="#area">area</a></code>、
60     It is an <a href="#html-elements" title="HTML elements">HTML      <code>form</code>、 <code><a href="#img">img</a></code>、 <code><a
61      element</a> of any kind with an <code title=attr-id><a      href="#object">object</a></code> のいずれかの要素であって、 <code
62      href="#id">id</a></code> attribute equal to <var title="">key</var>.      title=attr-name>name</code> 属性が <var title="">key</var>
63      (Non-HTML elements, even if they have IDs, are not searched for the  と等しいもの
64      purposes of <code title=dom-HTMLCollection-namedItem><a  
65      href="#nameditem">namedItem()</a></code>.)  #en
66  #ja     It is an <a href="#html-elements" title="HTML elements">HTML
67  任意の種類の <a href="#html-elements" title="HTML elements">HTML      element</a> of any kind with an <code title=attr-id><a
68  要素</a>であって、  <code title=attr-id><a      href="#id">id</a></code> attribute equal to <var title="">key</var>.
69      href="#id">id</a></code> 属性が  <var title="">key</var>      (Non-HTML elements, even if they have IDs, are not searched for the
70  と等しいもの。 (非 HTML 要素は、 ID を有していたとしても、      purposes of <code title=dom-HTMLCollection-namedItem><a
71  <code title=dom-HTMLCollection-namedItem><a      href="#nameditem">namedItem()</a></code>.)
72      href="#nameditem">namedItem()</a></code> では検索されません。)  #ja
73    任意の種類の <a href="#html-elements" title="HTML elements">HTML
74  #en  要素</a>であって、  <code title=attr-id><a
75    If no such elements are found, then the method must return null.      href="#id">id</a></code> 属性が  <var title="">key</var>
76  #ja  と等しいもの。 (非 HTML 要素は、 ID を有していたとしても、
77  そのような要素が存在しない場合、メソッドは null  <code title=dom-HTMLCollection-namedItem><a
78  を返さなければ[[MUST:なりません]]。      href="#nameditem">namedItem()</a></code> では検索されません。)
79    
80  #en  #en
81    The <code><a    If no such elements are found, then the method must return null.
82     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>  #ja
83     interface represents a <a href="#collections0"  そのような要素が存在しない場合、メソッドは null
84     title=collections>collection</a> of form controls.  を返さなければ[[MUST:なりません]]。
85  #ja  
86  <code><a  #en
87     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>    The <code><a
88  界面はフォーム制御子の<a href="#collections0"     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
89     title=collections>集成</a>を表します。     interface represents a <a href="#collections0"
90       title=collections>collection</a> of form controls.
91  #en  #ja
92    The <dfn id=length0  <code><a
93     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
94     attribute must return the number of nodes <a  界面はフォーム制御子の<a href="#collections0"
95     href="#represents">represented by the collection</a>.     title=collections>集成</a>を表します。
96  #ja  
97  <dfn id=length0  #en
98     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>    The <dfn id=length0
99  属性は<a     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
100     href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。     attribute must return the number of nodes <a
101       href="#represents">represented by the collection</a>.
102  #en  #ja
103    The <dfn id=itemindex0  <dfn id=length0
104     title=dom-HTMLFormControlsCollection-item><code>item(<var     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
105     title="">index</var>)</code></dfn> method must return the <var  属性は<a
106     title="">index</var>th node in the collection. If there is no <var     href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。
107     title="">index</var>th node in the collection, then the method must return  
108     null.  #en
109  #ja    The <dfn id=itemindex0
110  <dfn id=itemindex0     title=dom-HTMLFormControlsCollection-item><code>item(<var
111     title=dom-HTMLFormControlsCollection-item><code>item(<var     title="">index</var>)</code></dfn> method must return the <var
112     title="">index</var>)</code></dfn> メソッドは集成中の <var     title="">index</var>th node in the collection. If there is no <var
113     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。集成中に     title="">index</var>th node in the collection, then the method must return
114  <var     null.
115     title="">index</var> 番目の節点が存在しなければ、メソッドは null  #ja
116  を返さなければなりません。  <dfn id=itemindex0
117       title=dom-HTMLFormControlsCollection-item><code>item(<var
118  #en     title="">index</var>)</code></dfn> メソッドは集成中の <var
119    The <dfn id=nameditem0     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。集成中に
120     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var  <var
121     title="">key</var>)</code></dfn> method must act according to the     title="">index</var> 番目の節点が存在しなければ、メソッドは null
122     following algorithm:  を返さなければなりません。
123  #ja  
124  <dfn id=nameditem0  #en
125     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var    The <dfn id=nameditem0
126     title="">key</var>)</code></dfn> メソッドは次の算法に従って動作しなければ[[MUST:なりません]]。     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var
127       title="">key</var>)</code></dfn> method must act according to the
128  #en     following algorithm:
129     If, at the time the method is called, there is exactly one node in the  #ja
130      collection that has either an <code title=attr-id><a  <dfn id=nameditem0
131      href="#id">id</a></code> attribute or a <code title=attr-name>name</code>     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var
132      attribute equal to <var title="">key</var>, then return that node and     title="">key</var>)</code></dfn> メソッドは次の算法に従って動作しなければ[[MUST:なりません]]。
133      stop the algorithm.  
134  #ja  #en
135  メソッド呼び出しの時点において、集成中に <code title=attr-id><a     If, at the time the method is called, there is exactly one node in the
136      href="#id">id</a></code> 属性または <code title=attr-name>name</code>      collection that has either an <code title=attr-id><a
137  属性のいずれかが <var title="">key</var> と等しい節点が丁度1つ存在するなら、      href="#id">id</a></code> attribute or a <code title=attr-name>name</code>
138  その節点を返し、算法を停止します。      attribute equal to <var title="">key</var>, then return that node and
139        stop the algorithm.
140  #en  #ja
141     Otherwise, if there are no nodes in the collection that have either an  メソッド呼び出しの時点において、集成中に <code title=attr-id><a
142      <code title=attr-id><a href="#id">id</a></code> attribute or a <code      href="#id">id</a></code> 属性または <code title=attr-name>name</code>
143      title=attr-name>name</code> attribute equal to <var title="">key</var>,  属性のいずれかが <var title="">key</var> と等しい節点が丁度1つ存在するなら、
144      then return null and stop the algorithm.  その節点を返し、算法を停止します。
145  #ja  
146  それ以外の場合で、集成中に <code title=attr-id><a href="#id">id</a></code>  #en
147  属性または <code     Otherwise, if there are no nodes in the collection that have either an
148      title=attr-name>name</code> 属性が <var title="">key</var>      <code title=attr-id><a href="#id">id</a></code> attribute or a <code
149  と等しい節点が存在しない場合は、 null を返し、算法を停止します。      title=attr-name>name</code> attribute equal to <var title="">key</var>,
150        then return null and stop the algorithm.
151  #en  #ja
152     Otherwise, create a <code>NodeList</code> object representing a live  それ以外の場合で、集成中に <code title=attr-id><a href="#id">id</a></code>
153      view of the <code><a  属性または <code
154      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>      title=attr-name>name</code> 属性が <var title="">key</var>
155    と等しい節点が存在しない場合は、 null を返し、算法を停止します。
156      object, further filtered so that the only nodes in the  
157      <code>NodeList</code> object are those that have either an <code  #en
158      title=attr-id><a href="#id">id</a></code> attribute or a <code     Otherwise, create a <code>NodeList</code> object representing a live
159      title=attr-name>name</code> attribute equal to <var title="">key</var>.      view of the <code><a
160      The nodes in the <code>NodeList</code> object must be sorted in <a      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
161      href="#tree-order">tree order</a>.  
162  #ja      object, further filtered so that the only nodes in the
163  それ以外の場合、その <code><a      <code>NodeList</code> object are those that have either an <code
164      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>      title=attr-id><a href="#id">id</a></code> attribute or a <code
165  オブジェクトの生きた表示であって、 <code      title=attr-name>name</code> attribute equal to <var title="">key</var>.
166      title=attr-id><a href="#id">id</a></code> 属性または <code      The nodes in the <code>NodeList</code> object must be sorted in <a
167      title=attr-name>name</code> 属性のいずれかが <var title="">key</var>      href="#tree-order">tree order</a>.
168  と等しい節点だけが含まれるような <code>NodeList</code>  #ja
169  オブジェクトを作成します。この <code>NodeList</code>  それ以外の場合、その <code><a
170  オブジェクトに含まれる節点は<a      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
171      href="#tree-order">木順</a>で整列されていなければ[[MUST:なりません]]。  オブジェクトの生きた表示であって、 <code
172        title=attr-id><a href="#id">id</a></code> 属性または <code
173  #en      title=attr-name>name</code> 属性のいずれかが <var title="">key</var>
174     Return that <code>NodeList</code> object.  と等しい節点だけが含まれるような <code>NodeList</code>
175  #ja  オブジェクトを作成します。この <code>NodeList</code>
176  その <code>NodeList</code> オブジェクトを返します。  オブジェクトに含まれる節点は<a
177        href="#tree-order">木順</a>で整列されていなければ[[MUST:なりません]]。
178    
179    #en
180       Return that <code>NodeList</code> object.
181    #ja
182    その <code>NodeList</code> オブジェクトを返します。
183    
184    
185    #en
186    Starting with the character immediately after the last one examined by
187        the sub-algorithm in step 9, skip any characters in the string that are
188        in the Unicode character class Zs (this might match zero characters). <a
189        href="#refsUNICODE">[UNICODE]</a>
190    #ja
191    段階 9 の部分算法で調べた最後の文字の直後の文字からはじめて、
192    文字列中の Unicode 文字クラス Zs の文字をすべて (該当するのは零文字かもしれませんが)
193    飛ばします。

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24