/[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.2 by apache, Wed Jul 16 07:44:43 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> メソッドは集成中で次のいずれかの要件に一致する最初の節点を返さなければ[[MUST:なりません]]:
48      href="#object">object</a></code> element with a <code  
49      title=attr-name>name</code> attribute equal to <var title="">key</var>,  #en
50      or,     It is an <code><a href="#a">a</a></code>, <code><a
51  #ja      href="#applet">applet</a></code>, <code><a href="#area">area</a></code>,
52  <code><a href="#a">a</a></code>、<code><a      <code>form</code>, <code><a href="#img">img</a></code>, or <code><a
53      href="#applet">applet</a></code>、<code><a href="#area">area</a></code>、      href="#object">object</a></code> element with a <code
54      <code>form</code>、 <code><a href="#img">img</a></code>、 <code><a      title=attr-name>name</code> attribute equal to <var title="">key</var>,
55      href="#object">object</a></code> のいずれかの要素であって、 <code      or,
56      title=attr-name>name</code> 属性が <var title="">key</var>  #ja
57  と等しいもの  <code><a href="#a">a</a></code>、<code><a
58        href="#applet">applet</a></code>、<code><a href="#area">area</a></code>、
59  #en      <code>form</code>、 <code><a href="#img">img</a></code>、 <code><a
60     It is an <a href="#html-elements" title="HTML elements">HTML      href="#object">object</a></code> のいずれかの要素であって、 <code
61      element</a> of any kind with an <code title=attr-id><a      title=attr-name>name</code> 属性が <var title="">key</var>
62      href="#id">id</a></code> attribute equal to <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  #en
65      href="#nameditem">namedItem()</a></code>.)     It is an <a href="#html-elements" title="HTML elements">HTML
66  #ja      element</a> of any kind with an <code title=attr-id><a
67  任意の種類の <a href="#html-elements" title="HTML elements">HTML      href="#id">id</a></code> attribute equal to <var title="">key</var>.
68  要素</a>であって、  <code title=attr-id><a      (Non-HTML elements, even if they have IDs, are not searched for the
69      href="#id">id</a></code> 属性が  <var title="">key</var>      purposes of <code title=dom-HTMLCollection-namedItem><a
70  と等しいもの。 (非 HTML 要素は、 ID を有していたとしても、      href="#nameditem">namedItem()</a></code>.)
71  <code title=dom-HTMLCollection-namedItem><a  #ja
72      href="#nameditem">namedItem()</a></code> では検索されません。)  任意の種類の <a href="#html-elements" title="HTML elements">HTML
73    要素</a>であって、  <code title=attr-id><a
74  #en      href="#id">id</a></code> 属性が  <var title="">key</var>
75    If no such elements are found, then the method must return null.  と等しいもの。 (非 HTML 要素は、 ID を有していたとしても、
76  #ja  <code title=dom-HTMLCollection-namedItem><a
77  そのような要素が存在しない場合、メソッドは null      href="#nameditem">namedItem()</a></code> では検索されません。)
78  を返さなければ[[MUST:なりません]]。  
79    #en
80  #en    If no such elements are found, then the method must return null.
81    The <code><a  #ja
82     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>  そのような要素が存在しない場合、メソッドは null
83     interface represents a <a href="#collections0"  を返さなければ[[MUST:なりません]]。
84     title=collections>collection</a> of form controls.  
85  #ja  #en
86  <code><a    The <code><a
87     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
88  界面はフォーム制御子の<a href="#collections0"     interface represents a <a href="#collections0"
89     title=collections>集成</a>を表します。     title=collections>collection</a> of form controls.
90    #ja
91  #en  <code><a
92    The <dfn id=length0     href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
93     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>  界面はフォーム制御子の<a href="#collections0"
94     attribute must return the number of nodes <a     title=collections>集成</a>を表します。
95     href="#represents">represented by the collection</a>.  
96  #ja  #en
97  <dfn id=length0    The <dfn id=length0
98     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
99  属性は<a     attribute must return the number of nodes <a
100     href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。     href="#represents">represented by the collection</a>.
101    #ja
102  #en  <dfn id=length0
103    The <dfn id=itemindex0     title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
104     title=dom-HTMLFormControlsCollection-item><code>item(<var  属性は<a
105     title="">index</var>)</code></dfn> method must return the <var     href="#represents">集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。
106     title="">index</var>th node in the collection. If there is no <var  
107     title="">index</var>th node in the collection, then the method must return  #en
108     null.    The <dfn id=itemindex0
109  #ja     title=dom-HTMLFormControlsCollection-item><code>item(<var
110  <dfn id=itemindex0     title="">index</var>)</code></dfn> method must return the <var
111     title=dom-HTMLFormControlsCollection-item><code>item(<var     title="">index</var>th node in the collection. If there is no <var
112     title="">index</var>)</code></dfn> メソッドは集成中の <var     title="">index</var>th node in the collection, then the method must return
113     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。集成中に     null.
114  <var  #ja
115     title="">index</var> 番目の節点が存在しなければ、メソッドは null  <dfn id=itemindex0
116  を返さなければなりません。     title=dom-HTMLFormControlsCollection-item><code>item(<var
117       title="">index</var>)</code></dfn> メソッドは集成中の <var
118  #en     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。集成中に
119    The <dfn id=nameditem0  <var
120     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var     title="">index</var> 番目の節点が存在しなければ、メソッドは null
121     title="">key</var>)</code></dfn> method must act according to the  を返さなければなりません。
122     following algorithm:  
123  #ja  #en
124  <dfn id=nameditem0    The <dfn id=nameditem0
125     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var
126     title="">key</var>)</code></dfn> メソッドは次の算法に従って動作しなければ[[MUST:なりません]]。     title="">key</var>)</code></dfn> method must act according to the
127       following algorithm:
128  #en  #ja
129     If, at the time the method is called, there is exactly one node in the  <dfn id=nameditem0
130      collection that has either an <code title=attr-id><a     title=dom-HTMLFormControlsCollection-namedItem><code>namedItem(<var
131      href="#id">id</a></code> attribute or a <code title=attr-name>name</code>     title="">key</var>)</code></dfn> メソッドは次の算法に従って動作しなければ[[MUST:なりません]]。
132      attribute equal to <var title="">key</var>, then return that node and  
133      stop the algorithm.  #en
134  #ja     If, at the time the method is called, there is exactly one node in the
135  メソッド呼び出しの時点において、集成中に <code title=attr-id><a      collection that has either an <code title=attr-id><a
136      href="#id">id</a></code> 属性または <code title=attr-name>name</code>      href="#id">id</a></code> attribute or a <code title=attr-name>name</code>
137  属性のいずれかが <var title="">key</var> と等しい節点が丁度1つ存在するなら、      attribute equal to <var title="">key</var>, then return that node and
138  その節点を返し、算法を停止します。      stop the algorithm.
139    #ja
140  #en  メソッド呼び出しの時点において、集成中に <code title=attr-id><a
141     Otherwise, if there are no nodes in the collection that have either an      href="#id">id</a></code> 属性または <code title=attr-name>name</code>
142      <code title=attr-id><a href="#id">id</a></code> attribute or a <code  属性のいずれかが <var title="">key</var> と等しい節点が丁度1つ存在するなら、
143      title=attr-name>name</code> attribute equal to <var title="">key</var>,  その節点を返し、算法を停止します。
144      then return null and stop the algorithm.  
145  #ja  #en
146  それ以外の場合で、集成中に <code title=attr-id><a href="#id">id</a></code>     Otherwise, if there are no nodes in the collection that have either an
147  属性または <code      <code title=attr-id><a href="#id">id</a></code> attribute or a <code
148      title=attr-name>name</code> 属性が <var title="">key</var>      title=attr-name>name</code> attribute equal to <var title="">key</var>,
149  と等しい節点が存在しない場合は、 null を返し、算法を停止します。      then return null and stop the algorithm.
150    #ja
151  #en  それ以外の場合で、集成中に <code title=attr-id><a href="#id">id</a></code>
152     Otherwise, create a <code>NodeList</code> object representing a live  属性または <code
153      view of the <code><a      title=attr-name>name</code> 属性が <var title="">key</var>
154      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>  と等しい節点が存在しない場合は、 null を返し、算法を停止します。
155    
156      object, further filtered so that the only nodes in the  #en
157      <code>NodeList</code> object are those that have either an <code     Otherwise, create a <code>NodeList</code> object representing a live
158      title=attr-id><a href="#id">id</a></code> attribute or a <code      view of the <code><a
159      title=attr-name>name</code> attribute equal to <var title="">key</var>.      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
160      The nodes in the <code>NodeList</code> object must be sorted in <a  
161      href="#tree-order">tree order</a>.      object, further filtered so that the only nodes in the
162  #ja      <code>NodeList</code> object are those that have either an <code
163  それ以外の場合、その <code><a      title=attr-id><a href="#id">id</a></code> attribute or a <code
164      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>      title=attr-name>name</code> attribute equal to <var title="">key</var>.
165  オブジェクトの生きた表示であって、 <code      The nodes in the <code>NodeList</code> object must be sorted in <a
166      title=attr-id><a href="#id">id</a></code> 属性または <code      href="#tree-order">tree order</a>.
167      title=attr-name>name</code> 属性のいずれかが <var title="">key</var>  #ja
168  と等しい節点だけが含まれるような <code>NodeList</code>  それ以外の場合、その <code><a
169  オブジェクトを作成します。この <code>NodeList</code>      href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a></code>
170  オブジェクトに含まれる節点は<a  オブジェクトの生きた表示であって、 <code
171      href="#tree-order">木順</a>で整列されていなければ[[MUST:なりません]]。      title=attr-id><a href="#id">id</a></code> 属性または <code
172        title=attr-name>name</code> 属性のいずれかが <var title="">key</var>
173  #en  と等しい節点だけが含まれるような <code>NodeList</code>
174     Return that <code>NodeList</code> object.  オブジェクトを作成します。この <code>NodeList</code>
175  #ja  オブジェクトに含まれる節点は<a
176  その <code>NodeList</code> オブジェクトを返します。      href="#tree-order">木順</a>で整列されていなければ[[MUST:なりません]]。
177    
178    #en
179       Return that <code>NodeList</code> object.
180    #ja
181    その <code>NodeList</code> オブジェクトを返します。

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24