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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.120 - (hide annotations) (download)
Sat Oct 25 11:50:02 2008 UTC (18 years ago) by apache
Branch: MAIN
Changes since 1.119: +6 -1 lines
by remote user 'guest'

1 apache 1.2 #pattern
2     <span class=secno>* </span>Common infrastructure
3     #ja
4 apache 1.3 <span class=secno>$1 </span>共通基盤
5    
6 apache 1.5 #pattern
7     <span class=secno>* </span>Terminology
8     #ja
9     <span class=secno>$1 </span>用語
10    
11     #en
12 apache 1.6 This specification refers to both HTML and XML attributes and DOM
13     attributes, often in the same context. When it is not clear which is being
14 wakaba 1.33 referred to, they are referred to as <dfn id=content-attributes>content
15 apache 1.6 attributes</dfn> for HTML and XML attributes, and <dfn
16     id=dom-attributes>DOM attributes</dfn> for those from the DOM. Similarly,
17     the term "properties" is used for both ECMAScript object properties and
18     CSS properties. When these are ambiguous they are qualified as object
19     properties and CSS properties respectively.
20     #ja
21 apache 1.15 この仕様書では、よく、同じ文脈で HTML や XML の属性と DOM の属性の両方に言及します。
22     いずれの属性を指しているのかが明確でない場合には、
23 wakaba 1.33 HTML や XML の属性を<dfn id=content-attributes>内容属性</dfn>、
24 apache 1.15 DOM の属性を <dfn
25     id=dom-attributes>DOM 属性</dfn>と呼びます。
26     同様に、用語「特性」は ECMAScript のオブジェクト特性と CSS の特性の両方に使います。
27     いずれを指すか曖昧な場合には、それぞれオブジェクト特性や CSS 特性のように修飾して使います。
28 apache 1.6
29     #en
30 wakaba 1.33 The term <a href=#html-documents>HTML documents</a> is sometimes used in
31     contrast with <a href=#xml-documents>XML documents</a> to specifically
32     mean documents that were parsed using an <a href=#html-parser>HTML parser</a>
33 apache 1.6 (as opposed to using an XML parser or created purely through the DOM).
34     #ja
35 wakaba 1.33 用語 <a href=#html-documents>HTML 文書</a>は時々
36     <a href=#xml-documents>XML 文書</a>と対比させて使いますが、
37 apache 1.15 (XML 構文解析器を使って構文解析されたものや純粋に DOM を使って作られたものに対して)
38 wakaba 1.33 <a href=#html-parser>HTML 構文解析器</a>を使って構文解析された文書を意味します。
39 apache 1.6
40     #en
41     Generally, when the specification states that a feature applies to HTML
42     or XHTML, it also includes the other. When a feature specifically only
43     applies to one of the two languages, it is called out by explicitly
44     stating that it does not apply to the other format, as in "for HTML, ...
45     (this does not apply to XHTML)".
46     #ja
47 apache 1.15 一般に、この仕様書が HTML か XHTML に適用される機能を述べる時には、
48     他方についても含んでいます。ある機能がこの2つの言語のうちのいずれかにのみに特に適用される時は、
49     それがわかるように、他方の書式には適用されないことを明記します。
50 apache 1.6
51     #en
52     This specification uses the term <em>document</em> to refer to any use
53     of HTML, ranging from short static documents to long essays or reports
54     with rich multimedia, as well as to fully-fledged interactive
55     applications.
56     #ja
57 apache 1.15 この仕様書では、短く静的な文書であっても豊かな多媒体を用いた長い随筆や報告書であっても、
58     はたまた本格的な対話的アプリケーションであったとしても、
59     あらゆる HTML の利用方法をも含めて、すべて用語<em>文書</em>によって表します。
60 apache 1.6
61     #en
62 apache 1.5 For simplicity, terms such as <em>shown</em>, <em>displayed</em>, and
63     <em>visible</em> might sometimes be used when referring to the way a
64     document is rendered to the user. These terms are not meant to imply a
65     visual medium; they must be considered to apply to other media in
66     equivalent ways.
67     #ja
68 apache 1.15 簡単のため、文書が利用者に対してレンダリングされる方法に言及する時に<em>示す</em>、
69     <em>表示する</em>、<em>可視</em>などの用語を使うことがあります。
70     このような用語は特に視覚媒体を暗示しているわけではありません。
71     他の媒体であってもこれらの用語が等価な方法で適用されるものと考えなければ[[MUST:なりません]]。
72 apache 1.6
73     #en
74     Some of the algorithms in this specification, for historical reasons,
75     require the user agent to <dfn id=pause>pause</dfn> until some condition
76     has been met. While a user agent is paused, it must ensure that no scripts
77     execute (e.g. no event handlers, no timers, etc). User agents should
78     remain responsive to user input while paused, however, albeit without
79     letting the user interact with Web pages where that would involve invoking
80     any script.
81     #ja
82 apache 1.15 この仕様書にある算法のうちのいくつかは、歴史的な理由により、何らかの条件が満たされるまでの間、
83     利用者エージェントが<dfn id=pause>一時停止</dfn>することを要求しています。
84     利用者エージェントは、一時停止している間、スクリプト (事象取扱器やタイマーなど)
85     が実行されないようにしなければ[[MUST:なりません]]。
86     しかし、一時停止中利用者エージェントは、
87     スクリプトの呼び出しに関わってくるような Web 頁との対話を利用者にさせないでおきながらも、
88     利用者の入力に応答的であり続ける[[SHOULD:べきです]]。
89 apache 1.7
90     #en
91     To ease migration from HTML to XHTML, UAs conforming
92     to this specification will place elements in HTML in the
93     <code>http://www.w3.org/1999/xhtml</code> namespace, at least for the
94 wakaba 1.33 purposes of the DOM and CSS. The term "<dfn id=elements-in-the-html-namespace>elements in the
95 apache 1.7 HTML namespace</dfn>", or "<dfn id=html-elements>HTML elements</dfn>" for
96     short, when used in this specification, thus refers to both HTML and XHTML
97     elements.
98     #ja
99 apache 1.15 HTML から XHTML への移行を簡単にするために、
100     この仕様書に適合する利用者エージェントは、
101 apache 1.7 少なくても DOM と CSS に関しては、 HTML の要素を
102     <code>http://www.w3.org/1999/xhtml</code>
103 apache 1.15 名前空間に置きます。
104 wakaba 1.33 この仕様書では、用語「<dfn id=elements-in-the-html-namespace>HTML 名前空間の要素</dfn>」、
105 apache 1.7 略して「<dfn id=html-elements>HTML 要素</dfn>」は、
106 apache 1.15 HTML と XHTML の両方の要素を指します。
107 apache 1.7
108     #en
109     Unless otherwise stated, all elements defined or mentioned in this
110     specification are in the <code>http://www.w3.org/1999/xhtml</code>
111     namespace, and all attributes defined or mentioned in this specification
112     have no namespace (they are in the per-element partition).
113     #ja
114 apache 1.15 特に断らない場合、
115     この仕様書で定義または言及するすべての要素は
116 apache 1.7 <code>http://www.w3.org/1999/xhtml</code> 名前空間にあり、
117     この仕様書で定義または言及するすべての属性は名前空間を持ちません
118     (要素毎区画にあります)。
119    
120     #en
121     When an XML name, such as an attribute or element name, is referred to
122     in the form <code><var title="">prefix</var>:<var
123     title="">localName</var></code>, as in <code>xml:id</code> or
124     <code>svg:rect</code>, it refers to a name with the local name <var
125     title="">localName</var> and the namespace given by the prefix, as defined
126     by the following table:
127     #ja
128 apache 1.15 XML の名前 (属性名や要素名など) を <code><var title="">prefix</var>:<var
129     title="">localName</var></code> の形表す場合 (例えば <code>xml:id</code> や
130     <code>svg:rect</code>) には、局所名が <var
131     title="">localName</var> であり、
132     名前空間は接頭辞によって次の表で定義する通りであるような名前を表します。
133 apache 1.7
134 apache 1.9 #en
135     Attribute names are said to be <dfn
136     id=xml-compatible>XML-compatible</dfn> if they match the <a
137 wakaba 1.33 href=http://www.w3.org/TR/REC-xml/#NT-Name><code
138 apache 1.9 title="">Name</code></a> production defined in XML, they contain no U+003A
139     COLON (:) characters, and their first three characters are not an <a
140 wakaba 1.33 href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code
141     title="">xml</code>". <a href=#refsXML>[XML]</a>
142 apache 1.9 #ja
143     属性名が <dfn
144     id=xml-compatible>XML 互換</dfn>であるとは、 XML で定義されている <a
145 wakaba 1.33 href=http://www.w3.org/TR/REC-xml/#NT-Name><code
146 apache 1.9 title="">Name</code></a> 生成規則に一致し、 U+003A
147     COLON (:) 文字を含まず、最初の3文字が <a
148 wakaba 1.33 href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で文字列「<code
149     title="">xml</code>」に一致しないことをいいます。 <a href=#refsXML>[XML]</a>
150 apache 1.7
151     #pattern
152     <span class=secno>* </span>DOM trees
153     #ja
154     <span class=secno>$1 </span>DOM 木
155    
156     #en
157     The term <dfn id=root-element>root element</dfn>, when not explicitly
158     qualified as referring to the document's root element, means the furthest
159     ancestor element node of whatever node is being discussed, or the node
160     itself if it has no ancestors. When the node is a part of the document,
161     then that is indeed the document's root element; however, if the node is
162     not currently part of the document tree, the root element will be an
163     orphaned node.
164     #ja
165     用語<dfn id=root-element>根要素</dfn>は、
166     文書の根要素と明示的に修飾していない時は、
167     当該節点の最遠の祖先要素節点か、祖先を持たない場合にはその節点自体を意味します。
168     節点が文書の一部である時には、これは文書の根要素となります。
169     しかし、節点がその時点で文書木の一部でない場合は、
170     根要素は孤児節点となります。
171    
172     #en
173 wakaba 1.33 An element is said to have been <dfn id=insert-an-element-into-a-document title="insert an
174 apache 1.7 element into a document">inserted into a document</dfn> when its <a
175 wakaba 1.33 href=#root-element>root element</a> changes and is now the document's <a
176     href=#root-element>root element</a>.
177 apache 1.7 #ja
178 wakaba 1.33 要素が<dfn id=insert-an-element-into-a-document title="insert an
179 apache 1.7 element into a document">文書に挿入される</dfn>というのは、その<a
180 wakaba 1.33 href=#root-element>根要素</a>が変化し、新しく文書の<a
181     href=#root-element>根要素</a>となった時です。
182 apache 1.7
183     #en
184     The term <dfn id=tree-order>tree order</dfn> means a pre-order,
185     depth-first traversal of DOM nodes involved (through the <code
186     title="">parentNode</code>/<code title="">childNodes</code> relationship).
187     #ja
188     用語<dfn id=tree-order>木順</dfn>は、関係 DOM 節点の (<code
189     title="">parentNode</code>/<code title="">childNodes</code> 関係を通じた)
190     行きがけ順幅優先探索を表します。
191    
192     #en
193 wakaba 1.33 When it is stated that some element or attribute is <dfn id=ignore
194 apache 1.7 title=ignore>ignored</dfn>, or treated as some other value, or handled as
195     if it was something else, this refers only to the processing of the node
196     after it is in the DOM. A user agent must not mutate the DOM in such
197     situations.
198     #ja
199 wakaba 1.33 要素や属性が<dfn id=ignore
200 apache 1.7 title=ignore>無視</dfn>される、他の値であるとして扱う、
201     何か他のものであるかのように扱うと述べられている時は、その節点が DOM
202     に入った後の処理についてのみ言及しています。利用者エージェントは、そのような状況で DOM
203     を変異させては[[MUST NOT:なりません]]。
204    
205     #en
206     The term <dfn id=text-node>text node</dfn> refers to any
207     <code>Text</code> node, including <code>CDATASection</code> nodes;
208     specifically, any <code>Node</code> with node type <code
209     title="">TEXT_NODE</code> (3) or <code title="">CDATA_SECTION_NODE</code>
210 wakaba 1.33 (4). <a href=