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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 24 14:15:44 2008 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
*** empty log message ***

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24