/[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.2 - (hide annotations) (download)
Wed Jul 16 07:44:43 2008 UTC (17 years, 8 months ago) by apache
Branch: MAIN
Changes since 1.1: +181 -176 lines
by remote user 'guest'

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24