/[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.3 - (show annotations) (download)
Fri Jul 25 14:10:03 2008 UTC (17 years, 8 months ago) by apache
Branch: MAIN
Changes since 1.2: +2 -1 lines
by remote user 'guest'

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24