/[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.6 - (hide annotations) (download)
Thu Oct 23 04:22:10 2008 UTC (17 years, 9 months ago) by apache
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +6 -0 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 wakaba 1.5 The <code><a href=#htmlcollection-0>HTMLCollection</a></code> interface
8     represents a generic <a href=#collections-0
9 apache 1.2 title=collections>collection</a> of elements.
10     #ja
11 wakaba 1.5 <code><a href=#htmlcollection-0>HTMLCollection</a></code>
12     界面は、一般的な要素の<a href=#collections-0
13 apache 1.2 title=collections>集成</a>を表します。
14    
15     #en
16 wakaba 1.5 The <dfn id=dom-htmlcollection-length
17 apache 1.2 title=dom-HTMLCollection-length><code>length</code></dfn> attribute must
18 wakaba 1.5 return the number of nodes <a href=#represented-by-the-collection>represented by the
19 apache 1.2 collection</a>.
20     #ja
21 wakaba 1.5 <dfn id=dom-htmlcollection-length
22 apache 1.2 title=dom-HTMLCollection-length><code>length</code></dfn>
23 wakaba 1.5 属性は<a href=#represented-by-the-collection>集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。
24 apache 1.2
25     #en
26 wakaba 1.5 The <dfn id=dom-htmlcollection-item title=dom-HTMLCollection-item><code>item(<var
27 apache 1.2 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 wakaba 1.5 <dfn id=dom-htmlcollection-item title=dom-HTMLCollection-item><code>item(<var
33 apache 1.2 title="">index</var>)</code></dfn> メソッドは集成中の <var
34     title="">index</var> 番目の節点を返さなければ[[MUST:なりません]]。
35     集成中の <var
36     title="">index</var> 番目の節点が存在しない場合は、
37     メソッドは null を返さなければなりません。
38    
39     #en
40 wakaba 1.5 The <dfn id=dom-htmlcollection-nameditem
41 apache 1.2 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 wakaba 1.5 <dfn id=dom-htmlcollection-nameditem
46 apache 1.2 title=dom-HTMLCollection-namedItem><code>namedItem(<var
47 apache 1.3 title="">key</var>)</code></dfn> メソッドは、
48     集成中で次のいずれかの要件に一致する最初の節点を返さなければ[[MUST:なりません]]。
49 apache 1.2
50     #en
51 wakaba 1.5 It is an <code><a href=#the-a-element>a</a></code>, <code><a
52     href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>,
53     <code>form</code>, <code><a href=#the-img-element>img</a></code>, or <code><a
54     href=#the-object-element>object</a></code> element with a <code
55 apache 1.2 title=attr-name>name</code> attribute equal to <var title="">key</var>,
56     or,
57     #ja
58 wakaba 1.5 <code><a href=#the-a-element>a</a></code>、<code><a
59     href=#the-applet-element>applet</a></code>、<code><a href=#the-area-element>area</a></code>、
60     <code>form</code>、 <code><a href=#the-img-element>img</a></code>、 <code><a
61     href=#the-object-element>object</a></code> のいずれかの要素であって、 <code
62 apache 1.2 title=attr-name>name</code> 属性が <var title="">key</var>
63     と等しいもの
64    
65     #en
66 wakaba 1.5 It is an <a href=#html-elements title="HTML elements">HTML
67 apache 1.2 element</a> of any kind with an <code title=attr-id><a
68 wakaba 1.5 href=#the-id-attribute>id</a></code> attribute equal to <var title="">key</var>.
69 apache 1.2 (Non-HTML elements, even if they have IDs, are not searched for the
70     purposes of <code title=dom-HTMLCollection-namedItem><a
71 wakaba 1.5 href=#dom-htmlcollection-nameditem>namedItem()</a></code>.)
72 apache 1.2 #ja
73 wakaba 1.5 任意の種類の <a href=#html-elements title="HTML elements">HTML
74 apache 1.2 要素</a>であって、 <code title=attr-id><a
75 wakaba 1.5 href=#the-id-attribute>id</a></code> 属性が <var title="">key</var>
76 apache 1.2 と等しいもの。 (非 HTML 要素は、 ID を有していたとしても、
77     <code title=dom-HTMLCollection-namedItem><a
78 wakaba 1.5 href=#dom-htmlcollection-nameditem>namedItem()</a></code> では検索されません。)
79 apache 1.2
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 wakaba 1.5 href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code>
89     interface represents a <a href=#collections-0
90 apache 1.2 title=collections>collection</a> of form controls.
91     #ja
92     <code><a
93 wakaba 1.5 href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code>
94     界面はフォーム制御子の<a href=#collections-0
95 apache 1.2 title=collections>集成</a>を表します。
96    
97     #en
98 wakaba 1.5 The <dfn id=dom-htmlformcontrolscollection-length
99 apache 1.2 title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
100     attribute must return the number of nodes <a
101 wakaba 1.5 href=#represented-by-the-collection>represented by the collection</a>.
102 apache 1.2 #ja
103 wakaba 1.5 <dfn id=dom-htmlformcontrolscollection-length
104 apache 1.2 title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
105     属性は<a
106 wakaba 1.5 href=#represented-by-the-collection>集成が表現</a>する節点の数を返さなければ[[MUST:なりません]]。
107 apache 1.2
108     #en
109 wakaba 1.5 The <dfn id=dom-htmlformcontrolscollection-item
110 apache 1.2 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 wakaba 1.5 <dfn id=dom-htmlformcontrolscollection-item
117 apache 1.2 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 wakaba 1.5 The <dfn id=dom-htmlformcontrolscollection-nameditem
126 apache 1.2 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 wakaba 1.5 <dfn id=dom-htmlformcontrolscollection-nameditem
131 apache 1.2 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 wakaba 1.5 href=#the-id-attribute>id</a></code> attribute or a <code title=attr-name>name</code>
138 apache 1.2 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 wakaba 1.5 href=#the-id-attribute>id</a></code> 属性または <code title=attr-name>name</code>
143 apache 1.2 属性のいずれかが <var title="">key</var> と等しい節点が丁度1つ存在するなら、
144     その節点を返し、算法を停止します。
145    
146     #en
147     Otherwise, if there are no nodes in the collection that have either an
148 wakaba 1.5 <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code
149 apache 1.2 title=attr-name>name</code> attribute equal to <var title="">key</var>,
150     then return null and stop the algorithm.
151     #ja
152 wakaba 1.5 それ以外の場合で、集成中に <code title=attr-id><a href=#the-id-attribute>id</a></code>
153 apache 1.2 属性または <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 wakaba 1.5 href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code>
161 apache 1.2
162     object, further filtered so that the only nodes in the
163     <code>NodeList</code> object are those that have either an <code
164 wakaba 1.5 title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code
165 apache 1.2 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 wakaba 1.5 href=#tree-order>tree order</a>.
168 apache 1.2 #ja
169     それ以外の場合、その <code><a
170 wakaba 1.5 href=#htmlformcontrolscollection-0>HTMLFormControlsCollection</a></code>
171 apache 1.2 オブジェクトの生きた表示であって、 <code
172 wakaba 1.5 title=attr-id><a href=#the-id-attribute>id</a></code> 属性または <code
173 apache 1.2 title=attr-name>name</code> 属性のいずれかが <var title="">key</var>
174     と等しい節点だけが含まれるような <code>NodeList</code>
175     オブジェクトを作成します。この <code>NodeList</code>
176     オブジェクトに含まれる節点は<a
177 wakaba 1.5 href=#tree-order>木順</a>で整列されていなければ[[MUST:なりません]]。
178 apache 1.2
179     #en
180     Return that <code>NodeList</code> object.
181     #ja
182     その <code>NodeList</code> オブジェクトを返します。
183 apache 1.4
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 wakaba 1.5 href=#refsUNICODE>[UNICODE]</a>
190 apache 1.4 #ja
191     段階 9 の部分算法で調べた最後の文字の直後の文字からはじめて、
192     文字列中の Unicode 文字クラス Zs の文字をすべて (該当するのは零文字かもしれませんが)
193     飛ばします。
194 apache 1.6
195    
196     #en
197     <a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a>
198     #ja
199     <a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=http://www.whatwg.org/images/logo></a>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24