| 11 |
#en |
#en |
| 12 |
This specification refers to both HTML and XML attributes and DOM |
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 |
attributes, often in the same context. When it is not clear which is being |
| 14 |
referred to, they are referred to as <dfn id=content0>content |
referred to, they are referred to as <dfn id=content-attributes>content |
| 15 |
attributes</dfn> for HTML and XML attributes, and <dfn |
attributes</dfn> for HTML and XML attributes, and <dfn |
| 16 |
id=dom-attributes>DOM attributes</dfn> for those from the DOM. Similarly, |
id=dom-attributes>DOM attributes</dfn> for those from the DOM. Similarly, |
| 17 |
the term "properties" is used for both ECMAScript object properties and |
the term "properties" is used for both ECMAScript object properties and |
| 20 |
#ja |
#ja |
| 21 |
この仕様書では、よく、同じ文脈で HTML や XML の属性と DOM の属性の両方に言及します。 |
この仕様書では、よく、同じ文脈で HTML や XML の属性と DOM の属性の両方に言及します。 |
| 22 |
いずれの属性を指しているのかが明確でない場合には、 |
いずれの属性を指しているのかが明確でない場合には、 |
| 23 |
HTML や XML の属性を<dfn id=content0>内容属性</dfn>、 |
HTML や XML の属性を<dfn id=content-attributes>内容属性</dfn>、 |
| 24 |
DOM の属性を <dfn |
DOM の属性を <dfn |
| 25 |
id=dom-attributes>DOM 属性</dfn>と呼びます。 |
id=dom-attributes>DOM 属性</dfn>と呼びます。 |
| 26 |
同様に、用語「特性」は ECMAScript のオブジェクト特性と CSS の特性の両方に使います。 |
同様に、用語「特性」は ECMAScript のオブジェクト特性と CSS の特性の両方に使います。 |
| 27 |
いずれを指すか曖昧な場合には、それぞれオブジェクト特性や CSS 特性のように修飾して使います。 |
いずれを指すか曖昧な場合には、それぞれオブジェクト特性や CSS 特性のように修飾して使います。 |
| 28 |
|
|
| 29 |
#en |
#en |
| 30 |
The term <a href="#html-">HTML documents</a> is sometimes used in |
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 |
contrast with <a href=#xml-documents>XML documents</a> to specifically |
| 32 |
mean documents that were parsed using an <a href="#html-0">HTML parser</a> |
mean documents that were parsed using an <a href=#html-parser>HTML parser</a> |
| 33 |
(as opposed to using an XML parser or created purely through the DOM). |
(as opposed to using an XML parser or created purely through the DOM). |
| 34 |
#ja |
#ja |
| 35 |
用語 <a href="#html-">HTML 文書</a>は時々 |
用語 <a href=#html-documents>HTML 文書</a>は時々 |
| 36 |
<a href="#xml-documents">XML 文書</a>と対比させて使いますが、 |
<a href=#xml-documents>XML 文書</a>と対比させて使いますが、 |
| 37 |
(XML 構文解析器を使って構文解析されたものや純粋に DOM を使って作られたものに対して) |
(XML 構文解析器を使って構文解析されたものや純粋に DOM を使って作られたものに対して) |
| 38 |
<a href="#html-0">HTML 構文解析器</a>を使って構文解析された文書を意味します。 |
<a href=#html-parser>HTML 構文解析器</a>を使って構文解析された文書を意味します。 |
| 39 |
|
|
| 40 |
#en |
#en |
| 41 |
Generally, when the specification states that a feature applies to HTML |
Generally, when the specification states that a feature applies to HTML |
| 91 |
To ease migration from HTML to XHTML, UAs conforming |
To ease migration from HTML to XHTML, UAs conforming |
| 92 |
to this specification will place elements in HTML in the |
to this specification will place elements in HTML in the |
| 93 |
<code>http://www.w3.org/1999/xhtml</code> namespace, at least for the |
<code>http://www.w3.org/1999/xhtml</code> namespace, at least for the |
| 94 |
purposes of the DOM and CSS. The term "<dfn id=elements2>elements in the |
purposes of the DOM and CSS. The term "<dfn id=elements-in-the-html-namespace>elements in the |
| 95 |
HTML namespace</dfn>", or "<dfn id=html-elements>HTML elements</dfn>" for |
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 |
short, when used in this specification, thus refers to both HTML and XHTML |
| 97 |
elements. |
elements. |
| 101 |
少なくても DOM と CSS に関しては、 HTML の要素を |
少なくても DOM と CSS に関しては、 HTML の要素を |
| 102 |
<code>http://www.w3.org/1999/xhtml</code> |
<code>http://www.w3.org/1999/xhtml</code> |
| 103 |
名前空間に置きます。 |
名前空間に置きます。 |
| 104 |
この仕様書では、用語「<dfn id=elements2>HTML 名前空間の要素</dfn>」、 |
この仕様書では、用語「<dfn id=elements-in-the-html-namespace>HTML 名前空間の要素</dfn>」、 |
| 105 |
略して「<dfn id=html-elements>HTML 要素</dfn>」は、 |
略して「<dfn id=html-elements>HTML 要素</dfn>」は、 |
| 106 |
HTML と XHTML の両方の要素を指します。 |
HTML と XHTML の両方の要素を指します。 |
| 107 |
|
|
| 134 |
#en |
#en |
| 135 |
Attribute names are said to be <dfn |
Attribute names are said to be <dfn |
| 136 |
id=xml-compatible>XML-compatible</dfn> if they match the <a |
id=xml-compatible>XML-compatible</dfn> if they match the <a |
| 137 |
href="http://www.w3.org/TR/REC-xml/#NT-Name"><code |
href=http://www.w3.org/TR/REC-xml/#NT-Name><code |
| 138 |
title="">Name</code></a> production defined in XML, they contain no U+003A |
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 |
COLON (:) characters, and their first three characters are not an <a |
| 140 |
href="#ascii">ASCII case-insensitive</a> match for the string "<code |
href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code |
| 141 |
title="">xml</code>". <a href="#refsXML">[XML]</a> |
title="">xml</code>". <a href=#refsXML>[XML]</a> |
| 142 |
#ja |
#ja |
| 143 |
属性名が <dfn |
属性名が <dfn |
| 144 |
id=xml-compatible>XML 互換</dfn>であるとは、 XML で定義されている <a |
id=xml-compatible>XML 互換</dfn>であるとは、 XML で定義されている <a |
| 145 |
href="http://www.w3.org/TR/REC-xml/#NT-Name"><code |
href=http://www.w3.org/TR/REC-xml/#NT-Name><code |
| 146 |
title="">Name</code></a> 生成規則に一致し、 U+003A |
title="">Name</code></a> 生成規則に一致し、 U+003A |
| 147 |
COLON (:) 文字を含まず、最初の3文字が <a |
COLON (:) 文字を含まず、最初の3文字が <a |
| 148 |
href="#ascii">ASCII 大文字・小文字不区別</a>で文字列「<code |
href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で文字列「<code |
| 149 |
title="">xml</code>」に一致しないことをいいます。 <a href="#refsXML">[XML]</a> |
title="">xml</code>」に一致しないことをいいます。 <a href=#refsXML>[XML]</a> |
| 150 |
|
|
| 151 |
#pattern |
#pattern |
| 152 |
<span class=secno>* </span>DOM trees |
<span class=secno>* </span>DOM trees |
| 170 |
根要素は孤児節点となります。 |
根要素は孤児節点となります。 |
| 171 |
|
|
| 172 |
#en |
#en |
| 173 |
An element is said to have been <dfn id=inserted title="insert an |
An element is said to have been <dfn id=insert-an-element-into-a-document title="insert an |
| 174 |
element into a document">inserted into a document</dfn> when its <a |
element into a document">inserted into a document</dfn> when its <a |
| 175 |
href="#root-element">root element</a> changes and is now the document's <a |
href=#root-element>root element</a> changes and is now the document's <a |
| 176 |
href="#root-element">root element</a>. |
href=#root-element>root element</a>. |
| 177 |
#ja |
#ja |
| 178 |
要素が<dfn id=inserted title="insert an |
要素が<dfn id=insert-an-element-into-a-document title="insert an |
| 179 |
element into a document">文書に挿入される</dfn>というのは、その<a |
element into a document">文書に挿入される</dfn>というのは、その<a |
| 180 |
href="#root-element">根要素</a>が変化し、新しく文書の<a |
href=#root-element>根要素</a>が変化し、新しく文書の<a |
| 181 |
href="#root-element">根要素</a>となった時です。 |
href=#root-element>根要素</a>となった時です。 |
| 182 |
|
|
| 183 |
#en |
#en |
| 184 |
The term <dfn id=tree-order>tree order</dfn> means a pre-order, |
The term <dfn id=tree-order>tree order</dfn> means a pre-order, |
| 190 |
行きがけ順幅優先探索を表します。 |
行きがけ順幅優先探索を表します。 |
| 191 |
|
|
| 192 |
#en |
#en |
| 193 |
When it is stated that some element or attribute is <dfn id=ignored |
When it is stated that some element or attribute is <dfn id=ignore |
| 194 |
title=ignore>ignored</dfn>, or treated as some other value, or handled as |
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 |
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 |
after it is in the DOM. A user agent must not mutate the DOM in such |
| 197 |
situations. |
situations. |
| 198 |
#ja |
#ja |
| 199 |
要素や属性が<dfn id=ignored |
要素や属性が<dfn id=ignore |
| 200 |
title=ignore>無視</dfn>される、他の値であるとして扱う、 |
title=ignore>無視</dfn>される、他の値であるとして扱う、 |
| 201 |
何か他のものであるかのように扱うと述べられている時は、その節点が DOM |
何か他のものであるかのように扱うと述べられている時は、その節点が DOM |
| 202 |
に入った後の処理についてのみ言及しています。利用者エージェントは、そのような状況で DOM |
に入った後の処理についてのみ言及しています。利用者エージェントは、そのような状況で DOM |
| 207 |
<code>Text</code> node, including <code>CDATASection</code> nodes; |
<code>Text</code> node, including <code>CDATASection</code> nodes; |
| 208 |
specifically, any <code>Node</code> with node type <code |
specifically, any <code>Node</code> with node type <code |
| 209 |
title="">TEXT_NODE</code> (3) or <code title="">CDATA_SECTION_NODE</code> |
title="">TEXT_NODE</code> (3) or <code title="">CDATA_SECTION_NODE</code> |
| 210 |
(4). <a href="#refsDOM3CORE">[DOM3CORE]</a> |
(4). <a href=#refsDOM3CORE>[DOM3CORE]</a> |
| 211 |
#ja |
#ja |
| 212 |
用語<dfn id=text-node>テキスト節点</dfn>は、任意の |
用語<dfn id=text-node>テキスト節点</dfn>は、任意の |
| 213 |
<code>Text</code> 節点を指し、 <code>CDATASection</code> 節点を含みます。 |
<code>Text</code> 節点を指し、 <code>CDATASection</code> 節点を含みます。 |
| 215 |
title="">TEXT_NODE</code> (3) か <code title="">CDATA_SECTION_NODE</code> |
title="">TEXT_NODE</code> (3) か <code title="">CDATA_SECTION_NODE</code> |
| 216 |
|
|
| 217 |
(4) の任意の <code>Node</code> を指します。 |
(4) の任意の <code>Node</code> を指します。 |
| 218 |
<a href="#refsDOM3CORE">[DOM3CORE]</a> |
<a href=#refsDOM3CORE>[DOM3CORE]</a> |
| 219 |
|
|
| 220 |
#pattern |
#pattern |
| 221 |
<span class=secno>* </span>Scripting |
<span class=secno>* </span>Scripting |
| 252 |
#en |
#en |
| 253 |
The terms <em>fire</em> and <em>dispatch</em> are used interchangeably |
The terms <em>fire</em> and <em>dispatch</em> are used interchangeably |
| 254 |
in the context of events, as in the DOM Events specifications. <a |
in the context of events, as in the DOM Events specifications. <a |
| 255 |
href="#refsDOM3EVENTS">[DOM3EVENTS]</a> |
href=#refsDOM3EVENTS>[DOM3EVENTS]</a> |
| 256 |
#ja |
#ja |
| 257 |
用語<em>発火</em>、<em>発送</em>は、 DOM 事象仕様書にある通り、 |
用語<em>発火</em>、<em>発送</em>は、 DOM 事象仕様書にある通り、 |
| 258 |
事象の文脈では交換可能なものとして使います。 <a |
事象の文脈では交換可能なものとして使います。 <a |
| 259 |
href="#refsDOM3EVENTS">[DOM3EVENTS]</a> |
href=#refsDOM3EVENTS>[DOM3EVENTS]</a> |
| 260 |
|
|
| 261 |
#pattern |
#pattern |
| 262 |
<span class=secno>* </span>Plugins |
<span class=secno>* </span>Plugins |
| 273 |
|
|
| 274 |
#en |
#en |
| 275 |
One example of a plugin would be a PDF viewer that is |
One example of a plugin would be a PDF viewer that is |
| 276 |
instantiated in a <a href="#browsing1">browsing context</a> when the user |
instantiated in a <a href=#browsing-context>browsing context</a> when the user |
| 277 |
navigates to a PDF file. This would count as a plugin regardless of |
navigates to a PDF file. This would count as a plugin regardless of |
| 278 |
whether the party that implemented the PDF viewer component was the same |
whether the party that implemented the PDF viewer component was the same |
| 279 |
as that which implemented the user agent itself. However, a PDF viewer |
as that which implemented the user agent itself. However, a PDF viewer |
| 280 |
application that launches separate from the user agent (as opposed to |
application that launches separate from the user agent (as opposed to |
| 281 |
using the same interface) is not a plugin by this definition. |
using the same interface) is not a plugin by this definition. |
| 282 |
#ja |
#ja |
| 283 |
プラグインの一例は、利用者が PDF ファイルに操縦した時に<a href="#browsing1">閲覧文脈</a>中に実現値化される PDF 表示器です。この場合、PDF 表示器部品が利用者エージェント自体と同じ者により実装されたかどうかを問わず、 |
プラグインの一例は、利用者が PDF ファイルに操縦した時に<a href=#browsing-context>閲覧文脈</a>中に実現値化される PDF 表示器です。この場合、PDF 表示器部品が利用者エージェント自体と同じ者により実装されたかどうかを問わず、 |
| 284 |
プラグインと考えます。しかし、 PDF 表示器アプリケーションが利用者エージェントとは |
プラグインと考えます。しかし、 PDF 表示器アプリケーションが利用者エージェントとは |
| 285 |
(同じ界面を使わずに) 別に起動する場合には、この定義ではプラグインではありません。 |
(同じ界面を使わずに) 別に起動する場合には、この定義ではプラグインではありません。 |
| 286 |
|
|
| 289 |
interacting with plugins, as it is expected to be user-agent- and |
interacting with plugins, as it is expected to be user-agent- and |
| 290 |
platform-specific. Some UAs might opt to support a plugin mechanism such |
platform-specific. Some UAs might opt to support a plugin mechanism such |
| 291 |
as the Netscape Plugin API; others might use remote content converters or |
as the Netscape Plugin API; others might use remote content converters or |
| 292 |
have built-in support for certain types. <a href="#refsNPAPI">[NPAPI]</a> |
have built-in support for certain types. <a href=#refsNPAPI>[NPAPI]</a> |
| 293 |
#ja |
#ja |
| 294 |
この仕様書は、プラグインと対話する仕組みを定義しません。そのような仕組みは利用者エージェントや環境に依存すると思われるからです。 |
この仕様書は、プラグインと対話する仕組みを定義しません。そのような仕組みは利用者エージェントや環境に依存すると思われるからです。 |
| 295 |
ある利用者エージェントは Netscape プラグイン API のようなプラグインの仕組みに対応したいかもしれません。 |
ある利用者エージェントは Netscape プラグイン API のようなプラグインの仕組みに対応したいかもしれません。 |
| 297 |
|
|
| 298 |
#en |
#en |
| 299 |
Browsers should take extreme care when interacting with |
Browsers should take extreme care when interacting with |
| 300 |
external content intended for <a href="#plugin" title=plugin>plugins</a>. |
external content intended for <a href=#plugin title=plugin>plugins</a>. |
| 301 |
When third-party software is run with the same privileges as the user |
When third-party software is run with the same privileges as the user |
| 302 |
agent itself, vulnerabilities in the third-party software become as |
agent itself, vulnerabilities in the third-party software become as |
| 303 |
dangerous as those in the user agent. |
dangerous as those in the user agent. |
| 304 |
#ja |
#ja |
| 305 |
ブラウザは、<a href="#plugin" title=plugin>プラグイン</a>を想定した外部の内容と対話する時に特に十分な注意を払う[[SHOULD:べきです]]。 |
ブラウザは、<a href=#plugin title=plugin>プラグイン</a>を想定した外部の内容と対話する時に特に十分な注意を払う[[SHOULD:べきです]]。 |
| 306 |
第3者ソフトウェアが利用者エージェント自体と同じ特権で走る時は、 |
第3者ソフトウェアが利用者エージェント自体と同じ特権で走る時は、 |
| 307 |
第3者ソフトウェアの脆弱性が利用者エージェントの脆弱性と同じくらい危険となります。 |
第3者ソフトウェアの脆弱性が利用者エージェントの脆弱性と同じくらい危険となります。 |
| 308 |
|
|
| 326 |
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the |
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the |
| 327 |
normative parts of this document are to be interpreted as described in |
normative parts of this document are to be interpreted as described in |
| 328 |
RFC2119. For readability, these words do not appear in all uppercase |
RFC2119. For readability, these words do not appear in all uppercase |
| 329 |
letters in this specification. <a href="#refsRFC2119">[RFC2119]</a> |
letters in this specification. <a href=#refsRFC2119>[RFC2119]</a> |
| 330 |
#ja |
#ja |
| 331 |
この文書の規定の部分にあるキーワード「[[MUST:しなければなりません]]」、 |
この文書の規定の部分にあるキーワード「[[MUST:しなければなりません]]」、 |
| 332 |
「[[MUST NOT:してはなりません]]」、 |
「[[MUST NOT:してはなりません]]」、 |
| 338 |
この仕様書<ins class=ja-note>の原文</ins>では、 |
この仕様書<ins class=ja-note>の原文</ins>では、 |
| 339 |
可読性の観点から、 |
可読性の観点から、 |
| 340 |
これらの語<ins class=ja-note>の原語</ins>のすべて大文字による表記は行っていません。 |
これらの語<ins class=ja-note>の原語</ins>のすべて大文字による表記は行っていません。 |
| 341 |
<a href="#refsRFC2119">[RFC2119]</a> |
<a href=#refsRFC2119>[RFC2119]</a> |
| 342 |
|
|
| 343 |
#en |
#en |
| 344 |
Requirements phrased in the imperative as part of algorithms (such as |
Requirements phrased in the imperative as part of algorithms (such as |
| 387 |
Web ブラウザその他の対話的利用者エージェント |
Web ブラウザその他の対話的利用者エージェント |
| 388 |
|
|
| 389 |
#en |
#en |
| 390 |
Web browsers that support <a href="#xhtml5">XHTML</a> must process |
Web browsers that support <a href=#xhtml5>XHTML</a> must process |
| 391 |
elements and attributes from the <a href="#html-namespace0">HTML |
elements and attributes from the <a href=#html-namespace-0>HTML |
| 392 |
namespace</a> found in <a href="#xml-documents">XML documents</a> as |
namespace</a> found in <a href=#xml-documents>XML documents</a> as |
| 393 |
described in this specification, so that users can interact with them, |
described in this specification, so that users can interact with them, |
| 394 |
unless the semantics of those elements have been overridden by other |
unless the semantics of those elements have been overridden by other |
| 395 |
specifications. |
specifications. |
| 396 |
#ja |
#ja |
| 397 |
<a href="#xhtml5">XHTML</a> に対応する Web ブラウザは、 |
<a href=#xhtml5>XHTML</a> に対応する Web ブラウザは、 |
| 398 |
<a href="#xml-documents">XML 文書</a>中に見える <a href="#html-namespace0">HTML |
<a href=#xml-documents>XML 文書</a>中に見える <a href=#html-namespace-0>HTML |
| 399 |
名前空間</a>の要素や属性をこの仕様書で説明するように処理することにより、 |
名前空間</a>の要素や属性をこの仕様書で説明するように処理することにより、 |
| 400 |
利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。ただし、 |
利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。ただし、 |
| 401 |
それらの要素の意味が他の仕様書により上書きされている場合を除きます。 |
それらの要素の意味が他の仕様書により上書きされている場合を除きます。 |
| 402 |
|
|
| 403 |
#en |
#en |
| 404 |
A conforming XHTML processor would, upon finding an |
A conforming XHTML processor would, upon finding an |
| 405 |
XHTML <code><a href="#script1">script</a></code> element in an XML |
XHTML <code><a href=#script>script</a></code> element in an XML |
| 406 |
document, execute the script contained in that element. However, if the |
document, execute the script contained in that element. However, if the |
| 407 |
element is found within an XSLT transformation sheet (assuming the UA |
element is found within an XSLT transformation sheet (assuming the UA |
| 408 |
also supports XSLT), then the processor would instead treat the <code><a |
also supports XSLT), then the processor would instead treat the <code><a |
| 409 |
href="#script1">script</a></code> element as an opaque element that |
href=#script>script</a></code> element as an opaque element that |
| 410 |
forms part of the transform. |
forms part of the transform. |
| 411 |
#ja |
#ja |
| 412 |
適合 XHTML 処理器は、 XML 文書中で XHTML <code><a href="#script1">script</a></code> |
適合 XHTML 処理器は、 XML 文書中で XHTML <code><a href=#script>script</a></code> |
| 413 |
要素を見つけた際に、その要素に含まれるスクリプトを実行することになります。しかし、 |
要素を見つけた際に、その要素に含まれるスクリプトを実行することになります。しかし、 |
| 414 |
その要素が XSLT 変形シート中に見える場合には (利用者エージェントが XSLT |
その要素が XSLT 変形シート中に見える場合には (利用者エージェントが XSLT |
| 415 |
にも対応しているとすると)、処理器は通常の処理の代わりに <code><a |
にも対応しているとすると)、処理器は通常の処理の代わりに <code><a |
| 416 |
href="#script1">script</a></code> 要素を変形の一部を形成する不透明な要素として扱うことになります。 |
href=#script>script</a></code> 要素を変形の一部を形成する不透明な要素として扱うことになります。 |
| 417 |
|
|
| 418 |
#en |
#en |
| 419 |
Web browsers that support <a href="#html5" title=HTML5>HTML</a> must |
Web browsers that support <a href=#html5 title=HTML5>HTML</a> must |
| 420 |
process documents labeled as <code>text/html</code> as described in this |
process documents labeled as <code>text/html</code> as described in this |
| 421 |
specification, so that users can interact with them. |
specification, so that users can interact with them. |
| 422 |
#ja |
#ja |
| 423 |
<a href="#html5" title=HTML5>HTML</a> に対応する Web |
<a href=#html5 title=HTML5>HTML</a> に対応する Web |
| 424 |
ブラウザは、 <code>text/html</code> と札付けされた文書をこの仕様書で説明するように処理することにより、 |
ブラウザは、 <code>text/html</code> と札付けされた文書をこの仕様書で説明するように処理することにより、 |
| 425 |
利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。 |
利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。 |
| 426 |
|
|
| 442 |
Typical examples of non-interactive presentation user |
Typical examples of non-interactive presentation user |
| 443 |
agents are printers (static UAs) and overhead displays (dynamic UAs). It |
agents are printers (static UAs) and overhead displays (dynamic UAs). It |
| 444 |
is expected that most static non-interactive presentation user agents |
is expected that most static non-interactive presentation user agents |
| 445 |
will also opt to <a href="#non-scripted">lack scripting support</a>. |
will also opt to <a href=#non-scripted>lack scripting support</a>. |
| 446 |
#ja |
#ja |
| 447 |
非対話的提示利用者エージェントの典型的な例は印刷機 (静的利用者エージェント) |
非対話的提示利用者エージェントの典型的な例は印刷機 (静的利用者エージェント) |
| 448 |
や頭上表示機 (動的利用者エージェント) です。ほとんどの静的非対話的提示利用者エージェントは<a href="#non-scripted">スクリプティング対応を欠く</a>ことをも選ぶと思われます。 |
や頭上表示機 (動的利用者エージェント) です。ほとんどの静的非対話的提示利用者エージェントは<a href=#non-scripted>スクリプティング対応を欠く</a>ことをも選ぶと思われます。 |
| 449 |
|
|
| 450 |
#en |
#en |
| 451 |
A non-interactive but dynamic presentation UA would |
A non-interactive but dynamic presentation UA would |
| 497 |
Automated conformance checkers are exempt from detecting errors that |
Automated conformance checkers are exempt from detecting errors that |
| 498 |
require interpretation of the author's intent (for example, while a |
require interpretation of the author's intent (for example, while a |
| 499 |
document is non-conforming if the content of a <code><a |
document is non-conforming if the content of a <code><a |
| 500 |
href="#blockquote">blockquote</a></code> element is not a quote, |
href=#the-blockquote-element>blockquote</a></code> element is not a quote, |
| 501 |
conformance checkers running without the input of human judgement do not |
conformance checkers running without the input of human judgement do not |
| 502 |
have to check that <code><a href="#blockquote">blockquote</a></code> |
have to check that <code><a href=#the-blockquote-element>blockquote</a></code> |
| 503 |
elements only contain quoted material). |
elements only contain quoted material). |
| 504 |
#ja |
#ja |
| 505 |
適合性検査器は、文書がこの仕様書中で説明する適用可能な適合性基準に適合するかを検証しなければ[[MUST:なりません]]。 |
適合性検査器は、文書がこの仕様書中で説明する適用可能な適合性基準に適合するかを検証しなければ[[MUST:なりません]]。 |
| 506 |
自動化された適合性検査器については、著者の意図の解釈が必要な誤りの検出を免除します |
自動化された適合性検査器については、著者の意図の解釈が必要な誤りの検出を免除します |
| 507 |
(例えば、 <code><a |
(例えば、 <code><a |
| 508 |
href="#blockquote">blockquote</a></code> 要素の内容が引用ではない文書は不適合ですが、 |
href=#the-blockquote-element>blockquote</a></code> 要素の内容が引用ではない文書は不適合ですが、 |
| 509 |
人間の判断の入力なしで走っている適合性検査器は |
人間の判断の入力なしで走っている適合性検査器は |
| 510 |
<code><a href="#blockquote">blockquote</a></code> |
<code><a href=#the-blockquote-element>blockquote</a></code> |
| 511 |
要素が引用されたものだけを含むかを検査しなくてかまいません)。 |
要素が引用されたものだけを含むかを検査しなくてかまいません)。 |
| 512 |
|
|
| 513 |
#en |
#en |
| 514 |
Conformance checkers must check that the input document conforms when |
Conformance checkers must check that the input document conforms when |
| 515 |
parsed without a <a href="#browsing1">browsing context</a> (meaning that |
parsed without a <a href=#browsing-context>browsing context</a> (meaning that |
| 516 |
no scripts are run, and that the parser's <a |
no scripts are run, and that the parser's <a |
| 517 |
href="#scripting3">scripting flag</a> is disabled), and should also |
href=#scripting-flag>scripting flag</a> is disabled), and should also |
| 518 |
check that the input document conforms when parsed with a <a |
check that the input document conforms when parsed with a <a |
| 519 |
href="#browsing1">browsing context</a> in which scripts execute, and |
href=#browsing-context>browsing context</a> in which scripts execute, and |
| 520 |
that the scripts never cause non-conforming states to occur other than |
that the scripts never cause non-conforming states to occur other than |
| 521 |
transiently during script execution itself. (This is only a "SHOULD" and |
transiently during script execution itself. (This is only a "SHOULD" and |
| 522 |
not a "MUST" requirement because it has been proven to be impossible. <a |
not a "MUST" requirement because it has been proven to be impossible. <a |
| 523 |
href="#refsHALTINGPROBLEM">[HALTINGPROBLEM]</a>) |
href=#refsHALTINGPROBLEM>[HALTINGPROBLEM]</a>) |
| 524 |
#ja |
#ja |
| 525 |
適合性検査器は、<a href="#browsing1">閲覧文脈</a>なしの時に (つまりスクリプトが走らず、 |
適合性検査器は、<a href=#browsing-context>閲覧文脈</a>なしの時に (つまりスクリプトが走らず、 |
| 526 |
構文解析器の<a |
構文解析器の<a |
| 527 |
href="#scripting3">スクリプティング旗</a>が無効化された状態で) |
href=#scripting-flag>スクリプティング旗</a>が無効化された状態で) |
| 528 |
入力文書が適合するかを検査しなければ[[MUST:ならず]]、スクリプトを実行する<a |
入力文書が適合するかを検査しなければ[[MUST:ならず]]、スクリプトを実行する<a |
| 529 |
href="#browsing1">閲覧文脈</a>中で構文解析する時に入力文書が適合するか、 |
href=#browsing-context>閲覧文脈</a>中で構文解析する時に入力文書が適合するか、 |
| 530 |
スクリプトが決して不適合状態を引き起こさないか (スクリプト自体の実行中の過渡状態を除きます。) |
スクリプトが決して不適合状態を引き起こさないか (スクリプト自体の実行中の過渡状態を除きます。) |
| 531 |
も検査する[[SHOULD:べきです]]。 (これは不可能であると証明されているので、 |
も検査する[[SHOULD:べきです]]。 (これは不可能であると証明されているので、 |
| 532 |
「[[SHOULD:するべき]]」要件であり、「[[MUST:しなければならない]]」要件ではありません。 <a |
「[[SHOULD:するべき]]」要件であり、「[[MUST:しなければならない]]」要件ではありません。 <a |
| 533 |
href="#refsHALTINGPROBLEM">[HALTINGPROBLEM]</a>) |
href=#refsHALTINGPROBLEM>[HALTINGPROBLEM]</a>) |
| 534 |
|
|
| 535 |
#en |
#en |
| 536 |
The term "HTML5 validator" can be used to refer to a conformance |
The term "HTML5 validator" can be used to refer to a conformance |
| 598 |
文書を処理するアプリケーションやツールは、その処理する文書の意味に従って作用する[[SHOULD:べきです]]。 |
文書を処理するアプリケーションやツールは、その処理する文書の意味に従って作用する[[SHOULD:べきです]]。 |
| 599 |
|
|
| 600 |
#en |
#en |
| 601 |
A tool that generates <a href="#outline" |
A tool that generates <a href=#outline |
| 602 |
title=outline>document outlines</a> but increases the nesting level for |
title=outline>document outlines</a> but increases the nesting level for |
| 603 |
each paragraph and does not increase the nesting level for each section |
each paragraph and does not increase the nesting level for each section |
| 604 |
would not be conforming. |
would not be conforming. |
| 605 |
#ja |
#ja |
| 606 |
<a href="#outline" |
<a href=#outline |
| 607 |
title=outline>文書の輪郭</a>を生成するツールで、 |
title=outline>文書の輪郭</a>を生成するツールで、 |
| 608 |
入れ子の水準を段落毎に増加させ、章節毎には増加させないものは、 |
入れ子の水準を段落毎に増加させ、章節毎には増加させないものは、 |
| 609 |
適合しません。 |
適合しません。 |
| 631 |
|
|
| 632 |
#en |
#en |
| 633 |
For example, it is not conforming to use an <code><a |
For example, it is not conforming to use an <code><a |
| 634 |
href="#address">address</a></code> element for arbitrary contact |
href=#the-address-element>address</a></code> element for arbitrary contact |
| 635 |
information; that element can only be used for marking up contact |
information; that element can only be used for marking up contact |
| 636 |
information for the author of the document or section. However, since an |
information for the author of the document or section. However, since an |
| 637 |
authoring tool is likely unable to determine the difference, an |
authoring tool is likely unable to determine the difference, an |
| 638 |
authoring tool is exempt from that requirement. |
authoring tool is exempt from that requirement. |
| 639 |
#ja |
#ja |
| 640 |
例えば、 <code><a |
例えば、 <code><a |
| 641 |
href="#address">address</a></code> 要素を任意の連絡先情報に使うことは適合しません。 |
href=#the-address-element>address</a></code> 要素を任意の連絡先情報に使うことは適合しません。 |
| 642 |
この要素は文書や章節の著者の連絡先情報のマーク付けにのみ使うことができます。 |
この要素は文書や章節の著者の連絡先情報のマーク付けにのみ使うことができます。 |
| 643 |
しかし、著述ツールはこの違いを判断できないでしょうから、 |
しかし、著述ツールはこの違いを判断できないでしょうから、 |
| 644 |
著述ツールはこの要件を免除されます。 |
著述ツールはこの要件を免除されます。 |
| 685 |
elements they know are appropriate, and should not use elements that |
elements they know are appropriate, and should not use elements that |
| 686 |
they do not know to be appropriate. This might in certain extreme cases |
they do not know to be appropriate. This might in certain extreme cases |
| 687 |
mean limiting the use of flow elements to just a few elements, like |
mean limiting the use of flow elements to just a few elements, like |
| 688 |
<code><a href="#div">div</a></code>, <code><a href="#b">b</a></code>, |
<code><a href=#the-div-element>div</a></code>, <code><a href=#the-b-element>b</a></code>, |
| 689 |
<code><a href="#i">i</a></code>, and <code><a |
<code><a href=#the-i-element>i</a></code>, and <code><a |
| 690 |
href="#span">span</a></code> and making liberal use of the <code |
href=#the-span-element>span</a></code> and making liberal use of the <code |
| 691 |
title=attr-style><a href="#style">style</a></code> attribute. |
title=attr-style><a href=#the-style-attribute>style</a></code> attribute. |
| 692 |
#ja |
#ja |
| 693 |
しかし、 WYSIWYG ツールは合法です。 WYSIWYG ツールは適切であると知っている要素を使う[[SHOULD:べき]]で、 |
しかし、 WYSIWYG ツールは合法です。 WYSIWYG ツールは適切であると知っている要素を使う[[SHOULD:べき]]で、 |
| 694 |
適切ではないと知っている要素を使う[[SHOULD NOT:べきではありません]]。 |
適切ではないと知っている要素を使う[[SHOULD NOT:べきではありません]]。 |
| 695 |
これは、極端な場合に、使用する流れ要素を <code><a href="#div">div</a></code>、 |
これは、極端な場合に、使用する流れ要素を <code><a href=#the-div-element>div</a></code>、 |
| 696 |
<code><a href="#b">b</a></code>、 |
<code><a href=#the-b-element>b</a></code>、 |
| 697 |
<code><a href="#i">i</a></code>、<code><a |
<code><a href=#the-i-element>i</a></code>、<code><a |
| 698 |
href="#span">span</a></code> のような少数の要素に制限し、 <code |
href=#the-span-element>span</a></code> のような少数の要素に制限し、 <code |
| 699 |
title=attr-style><a href="#style">style</a></code> |
title=attr-style><a href=#the-style-attribute>style</a></code> |
| 700 |
属性を使いまくるようにすることを意味するかもしれません。 |
属性を使いまくるようにすることを意味するかもしれません。 |
| 701 |
|
|
| 702 |
#en |
#en |
| 755 |
For compatibility with existing content and prior specifications, this |
For compatibility with existing content and prior specifications, this |
| 756 |
specification describes two authoring formats: one based on XML (referred |
specification describes two authoring formats: one based on XML (referred |
| 757 |
to as <dfn id=xhtml5 title=XHTML>XHTML5</dfn>), and one using a <a |
to as <dfn id=xhtml5 title=XHTML>XHTML5</dfn>), and one using a <a |
| 758 |
href="#parsing">custom format</a> inspired by SGML (referred to as <dfn |
href=#parsing>custom format</a> inspired by SGML (referred to as <dfn |
| 759 |
id=html5>HTML5</dfn>). Implementations may support only one of these two |
id=html5>HTML5</dfn>). Implementations may support only one of these two |
| 760 |
formats, although supporting both is encouraged. |
formats, although supporting both is encouraged. |
| 761 |
#ja |
#ja |
| 762 |
既存の内容や以前の仕様書との互換性のため、この仕様書は2つの著述書式を説明します。 |
既存の内容や以前の仕様書との互換性のため、この仕様書は2つの著述書式を説明します。 |
| 763 |
1つは XML に基づくもので (<dfn id=xhtml5 title=XHTML>XHTML5</dfn> |
1つは XML に基づくもので (<dfn id=xhtml5 title=XHTML>XHTML5</dfn> |
| 764 |
と呼びます)、もう1つは SGML に着想を得た<a |
と呼びます)、もう1つは SGML に着想を得た<a |
| 765 |
href="#parsing">カスタム書式</a>を使うもの (<dfn |
href=#parsing>カスタム書式</a>を使うもの (<dfn |
| 766 |
id=html5>HTML5</dfn> と呼びます) です。実装者はこれら2つの書式の1つだけに対応して[[MAY:構いません]]が、 |
id=html5>HTML5</dfn> と呼びます) です。実装者はこれら2つの書式の1つだけに対応して[[MAY:構いません]]が、 |
| 767 |
両方に対応することをおすすめします。 |
両方に対応することをおすすめします。 |
| 768 |
|
|
| 769 |
#en |
#en |
| 770 |
<a href="#xhtml5">XHTML</a> documents (<a |
<a href=#xhtml5>XHTML</a> documents (<a |
| 771 |
href="#xml-documents">XML documents</a> using elements from the <a |
href=#xml-documents>XML documents</a> using elements from the <a |
| 772 |
href="#html-namespace0">HTML namespace</a>) that use the new features |
href=#html-namespace-0>HTML namespace</a>) that use the new features |
| 773 |
described in this specification and that are served over the wire (e.g. by |
described in this specification and that are served over the wire (e.g. by |
| 774 |
HTTP) must be sent using an XML MIME type such as |
HTTP) must be sent using an XML MIME type such as |
| 775 |
<code>application/xml</code> or <code>application/xhtml+xml</code> and |
<code>application/xml</code> or <code>application/xhtml+xml</code> and |
| 776 |
must not be served as <code>text/html</code>. <a |
must not be served as <code>text/html</code>. <a |
| 777 |
href="#refsRFC3023">[RFC3023]</a> |
href=#refsRFC3023>[RFC3023]</a> |
| 778 |
#ja |
#ja |
| 779 |
<a href="#xhtml5">XHTML</a> 文書 (<a |
<a href=#xhtml5>XHTML</a> 文書 (<a |
| 780 |
href="#xml-documents">XML 文書</a>で、 <a |
href=#xml-documents>XML 文書</a>で、 <a |
| 781 |
href="#html-namespace0">HTML 名前空間</a>の要素を用いるもの) であって、 |
href=#html-namespace-0>HTML 名前空間</a>の要素を用いるもの) であって、 |
| 782 |
この仕様書が説明する新しい機能を使い、 |
この仕様書が説明する新しい機能を使い、 |
| 783 |
ネットワークを通じて (例えば HTTP で) 供給されるものは、 |
ネットワークを通じて (例えば HTTP で) 供給されるものは、 |
| 784 |
<code>application/xml</code> や <code>application/xhtml+xml</code> |
<code>application/xml</code> や <code>application/xhtml+xml</code> |
| 785 |
のような XML MIME 型を使って送られなければ[[MUST:ならず]]、 |
のような XML MIME 型を使って送られなければ[[MUST:ならず]]、 |
| 786 |
<code>text/html</code> として供給されては[[MUST NOT:なりません]]。 <a |
<code>text/html</code> として供給されては[[MUST NOT:なりません]]。 <a |
| 787 |
href="#refsRFC3023">[RFC3023]</a> |
href=#refsRFC3023>[RFC3023]</a> |
| 788 |
|
|
| 789 |
#en |
#en |
| 790 |
Such XML documents may contain a <code>DOCTYPE</code> if desired, but |
Such XML documents may contain a <code>DOCTYPE</code> if desired, but |
| 808 |
安全ではないことを意味しています。 |
安全ではないことを意味しています。 |
| 809 |
|
|
| 810 |
#en |
#en |
| 811 |
<a href="#html5" title=HTML5>HTML documents</a>, |
<a href=#html5 title=HTML5>HTML documents</a>, |
| 812 |
if they are served over the wire (e.g. by HTTP) must be labeled with the |
if they are served over the wire (e.g. by HTTP) must be labeled with the |
| 813 |
<code>text/html</code> MIME type. |
<code>text/html</code> MIME type. |
| 814 |
#ja |
#ja |
| 815 |
<a href="#html5" title=HTML5>HTML 文書</a>は、ネットワークを通じて (例えば |
<a href=#html5 title=HTML5>HTML 文書</a>は、ネットワークを通じて (例えば |
| 816 |
HTTP で) 供給される場合、 <code>text/html</code> MIME 型と札付けされなければ[[MUST:なりません]]。 |
HTTP で) 供給される場合、 <code>text/html</code> MIME 型と札付けされなければ[[MUST:なりません]]。 |
| 817 |
|
|
| 818 |
#en |
#en |
| 848 |
|
|
| 849 |
#en |
#en |
| 850 |
Many fundamental concepts from HTML5 are used by this specification. |
Many fundamental concepts from HTML5 are used by this specification. |
| 851 |
<a href="#refsHTML5">[HTML5]</a> |
<a href=#refsHTML5>[HTML5]</a> |
| 852 |
#ja |
#ja |
| 853 |
この仕様書では、 HTML5 の多くの基礎的な概念を使用します。 |
この仕様書では、 HTML5 の多くの基礎的な概念を使用します。 |
| 854 |
<a href="#refsHTML5">[HTML5]</a> |
<a href=#refsHTML5>[HTML5]</a> |
| 855 |
|
|
| 856 |
#en |
#en |
| 857 |
This specification is intended to be used with JavaScript as the |
This specification is intended to be used with JavaScript as the |
| 858 |
scripting language. <a href="#refsJS">[JS]</a> |
scripting language. <a href=#refsJS>[JS]</a> |
| 859 |
#ja |
#ja |
| 860 |
この仕様書は、スクリプト言語として JavaScript |
この仕様書は、スクリプト言語として JavaScript |
| 861 |
を使うことを想定しています。 <a href="#refsJS">[JS]</a> |
を使うことを想定しています。 <a href=#refsJS>[JS]</a> |
| 862 |
|
|
| 863 |
#en |
#en |
| 864 |
The IDL blocks in this specification use the semantics of the WebIDL |
The IDL blocks in this specification use the semantics of the WebIDL |
| 865 |
specification. <a href="#refsWebIDL">[WebIDL]</a> |
specification. <a href=#refsWebIDL>[WebIDL]</a> |
| 866 |
#ja |
#ja |
| 867 |
この仕様書の IDL ブロックは、WebIDL 仕様書における意味を用います。 <a href="#refsWebIDL">[WebIDL]</a> |
この仕様書の IDL ブロックは、WebIDL 仕様書における意味を用います。 <a href=#refsWebIDL>[WebIDL]</a> |
| 868 |
|
|
| 869 |
#en |
#en |
| 870 |
Implementations that support XHTML5 must support some version of XML, |
Implementations that support XHTML5 must support some version of XML, |
| 871 |
as well as its corresponding namespaces specification, because XHTML5 |
as well as its corresponding namespaces specification, because XHTML5 |
| 872 |
uses an XML serialization with namespaces. <a href="#refsXML">[XML]</a> |
uses an XML serialization with namespaces. <a href=#refsXML>[XML]</a> |
| 873 |
<a href="#refsXMLNAMES">[XMLNAMES]</a> |
<a href=#refsXMLNAMES>[XMLNAMES]</a> |
| 874 |
#ja |
#ja |
| 875 |
XHTML5 に対応する実装は、 XML のいずれかの版と、 |
XHTML5 に対応する実装は、 XML のいずれかの版と、 |
| 876 |
それに対応する名前空間仕様書に対応しなければ[[MUST:なりません]]。 |
それに対応する名前空間仕様書に対応しなければ[[MUST:なりません]]。 |
| 877 |
XHTML5 は名前空間を用いた XML 直列化を使います。 |
XHTML5 は名前空間を用いた XML 直列化を使います。 |
| 878 |
<a href="#refsXML">[XML]</a> |
<a href=#refsXML>[XML]</a> |
| 879 |
<a href="#refsXMLNAMES">[XMLNAMES]</a> |
<a href=#refsXMLNAMES>[XMLNAMES]</a> |
| 880 |
|
|
| 881 |
#en |
#en |
| 882 |
The Document Object Model (DOM) is a representation — a model |
The Document Object Model (DOM) is a representation — a model |
| 883 |
— of a document and its content. The DOM is not just an API; the |
— of a document and its content. The DOM is not just an API; the |
| 884 |
conformance criteria of HTML implementations are defined, in this |
conformance criteria of HTML implementations are defined, in this |
| 885 |
specification, in terms of operations on the DOM. <a |
specification, in terms of operations on the DOM. <a |
| 886 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 887 |
#ja |
#ja |
| 888 |
文書オブジェクト・モデル (DOM) は、文書とその内容の表現 (モデル) です。 |
文書オブジェクト・モデル (DOM) は、文書とその内容の表現 (モデル) です。 |
| 889 |
DOM は単なる API ではなく、この仕様書では HTML 実装の適合性基準を |
DOM は単なる API ではなく、この仕様書では HTML 実装の適合性基準を |
| 890 |
DOM 上の操作として定義しています。 <a |
DOM 上の操作として定義しています。 <a |
| 891 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 892 |
|
|
| 893 |
#en |
#en |
| 894 |
Implementations must support some version of DOM Core and DOM Events, |
Implementations must support some version of DOM Core and DOM Events, |
| 895 |
because this specification is defined in terms of the DOM, and some of |
because this specification is defined in terms of the DOM, and some of |
| 896 |
the features are defined as extensions to the DOM Core interfaces. <a |
the features are defined as extensions to the DOM Core interfaces. <a |
| 897 |
href="#refsDOM3CORE">[DOM3CORE]</a> <a |
href=#refsDOM3CORE>[DOM3CORE]</a> <a |
| 898 |
href="#refsDOM3CORE">[DOM3EVENTS]</a> |
href=#refsDOM3CORE>[DOM3EVENTS]</a> |
| 899 |
#ja |
#ja |
| 900 |
実装は、 DOM 中核と DOM 事象のそれぞれのいずれかの版に対応しなければ[[MUST:なりません]]。 |
実装は、 DOM 中核と DOM 事象のそれぞれのいずれかの版に対応しなければ[[MUST:なりません]]。 |
| 901 |
この仕様書は DOM を使って定義を行っていますし、この仕様書で定義するいくつかの機能は DOM |
この仕様書は DOM を使って定義を行っていますし、この仕様書で定義するいくつかの機能は DOM |
| 902 |
中核界面に対する拡張となっています。 <a |
中核界面に対する拡張となっています。 <a |
| 903 |
href="#refsDOM3CORE">[DOM3CORE]</a> <a |
href=#refsDOM3CORE>[DOM3CORE]</a> <a |
| 904 |
href="#refsDOM3CORE">[DOM3EVENTS]</a> |
href=#refsDOM3CORE>[DOM3EVENTS]</a> |
| 905 |
|
|
| 906 |
#en |
#en |
| 907 |
Implementations that use ECMAScript to implement the APIs defined in |
Implementations that use ECMAScript to implement the APIs defined in |
| 908 |
this specification must implement them in a manner consistent with the |
this specification must implement them in a manner consistent with the |
| 909 |
ECMAScript Bindings defined in the Web IDL specification, as this |
ECMAScript Bindings defined in the Web IDL specification, as this |
| 910 |
specification uses that specification's terminology. <a |
specification uses that specification's terminology. <a |
| 911 |
href="#refsWebIDL">[WebIDL]</a> |
href=#refsWebIDL>[WebIDL]</a> |
| 912 |
#ja |
#ja |
| 913 |
この仕様書で定義する API を実装するために ECMAScript を使用する実装は、 |
この仕様書で定義する API を実装するために ECMAScript を使用する実装は、 |
| 914 |
Web IDL 仕様書で定義されている ECMAScript 束縛と整合的な方法で実装しなければ[[MUST:なりません]]。 |
Web IDL 仕様書で定義されている ECMAScript 束縛と整合的な方法で実装しなければ[[MUST:なりません]]。 |
| 915 |
この仕様書は Web IDL 仕様書の用語法を使っているからです。 <a |
この仕様書は Web IDL 仕様書の用語法を使っているからです。 <a |
| 916 |
href="#refsWebIDL">[WebIDL]</a> |
href=#refsWebIDL>[WebIDL]</a> |
| 917 |
|
|
| 918 |
#en |
#en |
| 919 |
Media Queries |
Media Queries |
| 922 |
|
|
| 923 |
#en |
#en |
| 924 |
Implementations must support some version of the Media Queries |
Implementations must support some version of the Media Queries |
| 925 |
language. <a href="#refsMQ">[MQ]</a> |
language. <a href=#refsMQ>[MQ]</a> |
| 926 |
#ja |
#ja |
| 927 |
実装は、媒体照会言語のいずれかの版を実装しなければ[[MUST:なりません]]。 |
実装は、媒体照会言語のいずれかの版を実装しなければ[[MUST:なりません]]。 |
| 928 |
<a href="#refsMQ">[MQ]</a> |
<a href=#refsMQ>[MQ]</a> |
| 929 |
|
|
| 930 |
#en |
#en |
| 931 |
This specification does not require support of any particular network |
This specification does not require support of any particular network |
| 973 |
両者を正確に、符号位置それぞれについて比較することを意味します。 |
両者を正確に、符号位置それぞれについて比較することを意味します。 |
| 974 |
|
|
| 975 |
#en |
#en |
| 976 |
Comparing two strings in a <dfn id=ascii>ASCII case-insensitive</dfn> |
Comparing two strings in a <dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn> |
| 977 |
manner means comparing them exactly, codepoint for codepoint, except that |
manner means comparing them exactly, codepoint for codepoint, except that |
| 978 |
the characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A |
the characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A |
| 979 |
to LATIN CAPITAL LETTER Z) and the corresponding characters in the range |
to LATIN CAPITAL LETTER Z) and the corresponding characters in the range |
| 980 |
U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) are |
U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) are |
| 981 |
considered to also match. |
considered to also match. |
| 982 |
#ja |
#ja |
| 983 |
2つの文字列を <dfn id=ascii>ASCII 大文字・小文字を区別しない</dfn>方法で比較するとは、 |
2つの文字列を <dfn id=ascii-case-insensitive>ASCII 大文字・小文字を区別しない</dfn>方法で比較するとは、 |
| 984 |
両者を正確に、符号位置それぞれについて比較しますが、範囲 U+0041 ~ U+005A (つまり |
両者を正確に、符号位置それぞれについて比較しますが、範囲 U+0041 ~ U+005A (つまり |
| 985 |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の文字と範囲 U+0061 ~ |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の文字と範囲 U+0061 ~ |
| 986 |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
| 987 |
の対応する文字も一致するものと考えることを意味します。 |
の対応する文字も一致するものと考えることを意味します。 |
| 988 |
|
|
| 989 |
#en |
#en |
| 990 |
Comparing two strings in a <dfn id=compatibility>compatibility |
Comparing two strings in a <dfn id=compatibility-caseless>compatibility |
| 991 |
caseless</dfn> manner means using the Unicode <i>compatibility caseless |
caseless</dfn> manner means using the Unicode <i>compatibility caseless |
| 992 |
match</i> operation to compare the two strings. <a |
match</i> operation to compare the two strings. <a |
| 993 |
href="#refsUNICODECASE">[UNICODECASE]</a> |
href=#refsUNICODECASE>[UNICODECASE]</a> |
| 994 |
#ja |
#ja |
| 995 |
2つの文字列を<dfn id=compatibility>大文字・小文字互換性不区別</dfn>な方法で比較するとは、 |
2つの文字列を<dfn id=compatibility-caseless>大文字・小文字互換性不区別</dfn>な方法で比較するとは、 |
| 996 |
2つの文字列の比較に Unicode <i>大文字・小文字互換性不区別</i>演算を使うことを意味します。 <a |
2つの文字列の比較に Unicode <i>大文字・小文字互換性不区別</i>演算を使うことを意味します。 <a |
| 997 |
href="#refsUNICODECASE">[UNICODECASE]</a> |
href=#refsUNICODECASE>[UNICODECASE]</a> |
| 998 |
|
|
| 999 |
#en |
#en |
| 1000 |
<dfn id=converting title="converted to uppercase">Converting a string to |
<dfn id=converted-to-uppercase title="converted to uppercase">Converting a string to |
| 1001 |
uppercase</dfn> means replacing all characters in the range U+0061 .. |
uppercase</dfn> means replacing all characters in the range U+0061 .. |
| 1002 |
U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) with the |
U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) with the |
| 1003 |
corresponding characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL |
corresponding characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL |
| 1004 |
LETTER A to LATIN CAPITAL LETTER Z). |
LETTER A to LATIN CAPITAL LETTER Z). |
| 1005 |
#ja |
#ja |
| 1006 |
<dfn id=converting title="converted to uppercase">文字列を大文字に変換する</dfn>とは、 |
<dfn id=converted-to-uppercase title="converted to uppercase">文字列を大文字に変換する</dfn>とは、 |
| 1007 |
範囲 U+0061 ~ |
範囲 U+0061 ~ |
| 1008 |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
| 1009 |
の文字をすべて範囲 U+0041 ~ U+005A (つまり |
の文字をすべて範囲 U+0041 ~ U+005A (つまり |
| 1010 |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の対応する文字に置き換えることを意味します。 |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の対応する文字に置き換えることを意味します。 |
| 1011 |
|
|
| 1012 |
#en |
#en |
| 1013 |
<dfn id=converting0 title="converted to lowercase">Converting a string |
<dfn id=converted-to-lowercase title="converted to lowercase">Converting a string |
| 1014 |
to lowercase</dfn> means replacing all characters in the range U+0041 .. |
to lowercase</dfn> means replacing all characters in the range U+0041 .. |
| 1015 |
U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) with the |
U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) with the |
| 1016 |
corresponding characters in the range U+0061 .. U+007A (i.e. LATIN SMALL |
corresponding characters in the range U+0061 .. U+007A (i.e. LATIN SMALL |
| 1017 |
LETTER A to LATIN SMALL LETTER Z). |
LETTER A to LATIN SMALL LETTER Z). |
| 1018 |
#ja |
#ja |
| 1019 |
<dfn id=converting0 title="converted to lowercase">文字列を小文字に変換する</dfn>とは、範囲 U+0041 ~ U+005A (つまり |
<dfn id=converted-to-lowercase title="converted to lowercase">文字列を小文字に変換する</dfn>とは、範囲 U+0041 ~ U+005A (つまり |
| 1020 |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) |
LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) |
| 1021 |
の文字をすべて範囲 U+0061 ~ |
の文字をすべて範囲 U+0061 ~ |
| 1022 |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z) |
| 1035 |
in Web applications, and does not necessarily imply the existence of an |
in Web applications, and does not necessarily imply the existence of an |
| 1036 |
actual <code>Document</code> object or of any other <code>Node</code> |
actual <code>Document</code> object or of any other <code>Node</code> |
| 1037 |
objects as defined in the DOM Core specifications. <a |
objects as defined in the DOM Core specifications. <a |
| 1038 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 1039 |
#ja |
#ja |
| 1040 |
DOM という語は、 Web アプリケーションでスクリプトに利用可能とされている API |
DOM という語は、 Web アプリケーションでスクリプトに利用可能とされている API |
| 1041 |
の集合を指して用い、必ずしも DOM 中核仕様書で定義されている実際の |
の集合を指して用い、必ずしも DOM 中核仕様書で定義されている実際の |
| 1042 |
<code>Document</code> オブジェクトその他の <code>Node</code> |
<code>Document</code> オブジェクトその他の <code>Node</code> |
| 1043 |
オブジェクトの存在を暗示してはいません。<a |
オブジェクトの存在を暗示してはいません。<a |
| 1044 |
href="#refsDOM3CORE">[DOM3CORE]</a> |
href=#refsDOM3CORE>[DOM3CORE]</a> |
| 1045 |
|
|
| 1046 |
#en |
#en |
| 1047 |
If a DOM object is said to be <dfn id=live>live</dfn>, then that means |
If a DOM object is said to be <dfn id=live>live</dfn>, then that means |
| 1061 |
|
|
| 1062 |
|
|
| 1063 |
|
|
| 1064 |
|
|
| 1065 |
|
|
| 1066 |
#en |
#en |
| 1067 |
If <var title="">string</var> consists of just a single U+002E FULL |
If <var title="">string</var> consists of just a single U+002E FULL |
| 1068 |
STOP character or if it contains more than one U+002E FULL STOP character |
STOP character or if it contains more than one U+002E FULL STOP character |
| 1069 |
then return an error condition and abort these steps. |
then return an error condition and abort these steps. |
| 1070 |
#ja |
#ja |
| 1071 |
<var title="">string</var> が単一の U+002E FULL |
<var title="">string</var> が単一の U+002E FULL |
| 1072 |
STOP 文字のみで構成される場合や、複数の U+002E FULL |
STOP 文字のみで構成される場合や、複数の U+002E FULL |
| 1073 |
STOP 文字を含む場合は、誤り状態を返し、 |
STOP 文字を含む場合は、誤り状態を返し、 |
| 1074 |
これらの段階を停止します。 |
これらの段階を停止します。 |
| 1075 |
|
|
| 1076 |
#en |
#en |
| 1077 |
If <var title="">got number</var> is true, then append <var |
If <var title="">got number</var> is true, then append <var |
| 1078 |
title="">value</var> to the <var title="">numbers</var> list. |
title="">value</var> to the <var title="">numbers</var> list. |
| 1079 |
#ja |
#ja |
| 1080 |
<var title="">got number</var> が真の場合、 <var |
<var title="">got number</var> が真の場合、 <var |
| 1081 |
title="">value</var> を <var title="">numbers</var> |
title="">value</var> を <var title="">numbers</var> |
| 1082 |
リストの最後に追加します。 |
リストの最後に追加します。 |
| 1083 |
|
|
| 1084 |
#en |
#en |
| 1085 |
To <dfn id=datetime-parser>parse a string as a datetime value</dfn>, a |
To <dfn id=datetime-parser>parse a string as a datetime value</dfn>, a |
| 1086 |
user agent must apply the following algorithm to the string. This will |
user agent must apply the following algorithm to the string. This will |
| 1087 |
either return a time in UTC, with associated timezone information for |
either return a time in UTC, with associated timezone information for |
| 1088 |
round tripping or display purposes, or nothing, indicating the value is |
round tripping or display purposes, or nothing, indicating the value is |
| 1089 |
not a <a href="#valid5">valid datetime</a>. If at any point the algorithm |
not a <a href=#valid-datetime>valid datetime</a>. If at any point the algorithm |
| 1090 |
says that it "fails", this means that it returns nothing. |
says that it "fails", this means that it returns nothing. |
| 1091 |
#ja |
#ja |
| 1092 |
利用者エージェントは、 |
利用者エージェントは、 |
| 1093 |
<dfn id=datetime-parser>文字列を日時値として構文解析する</dfn>際に文字列に次の算法を適用しなければ[[MUST:なりません]]。 |
<dfn id=datetime-parser>文字列を日時値として構文解析する</dfn>際に文字列に次の算法を適用しなければ[[MUST:なりません]]。 |
| 1094 |
この算法は UTC での時刻と往復変換や表示のための関連付けられた時間帯の情報を返すか、 |
この算法は UTC での時刻と往復変換や表示のための関連付けられた時間帯の情報を返すか、 |
|
何も返さないことによって値が<a href="#valid5">妥当な日時</a>でないことを示すかのいずれかです。 |
|
|
算法が「失敗」といった時点で、何も返さないことを意味します。 |
|
| 1095 |
|
何も返さないことによって値が<a href=#valid-datetime>妥当な日時</a>でないことを示すかのいずれかです。 |
| 1096 |
|
算法が「失敗」といった時点で、何も返さないことを意味します。 |
| 1097 |
|
|
| 1098 |
|
#en |
| 1099 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1100 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1101 |
|
sequence is not exactly four characters long, then fail. Otherwise, |
| 1102 |
|
interpret the resulting sequence as a base-ten integer. Let that number |
| 1103 |
|
be the <var title="">year</var>. |
| 1104 |
|
#ja |
| 1105 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1106 |
|
集めた列が丁度4文字の長さでない場合は、失敗です。 |
| 1107 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1108 |
|
この数を <var title="">year</var> とします。 |
| 1109 |
|
|
| 1110 |
|
#en |
| 1111 |
|
If <var title="">position</var> is beyond the end of <var |
| 1112 |
|
title="">input</var> or if the character at <var title="">position</var> |
| 1113 |
|
is not a U+002D HYPHEN-MINUS character, then fail. Otherwise, move <var |
| 1114 |
|
title="">position</var> forwards one character. |
| 1115 |
|
#ja |
| 1116 |
|
<var title="">position</var> が <var |
| 1117 |
|
title="">input</var> の終わりを過ぎている場合や <var title="">position</var> の位置の文字が U+002D HYPHEN-MINUS 文字でない場合、 |
| 1118 |
|
失敗です。そうでない場合、 <var |
| 1119 |
|
title="">position</var> を1文字先へ進めます。 |
| 1120 |
|
|
| 1121 |
|
#en |
| 1122 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1123 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1124 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1125 |
|
interpret the resulting sequence as a base-ten integer. Let that number |
| 1126 |
|
be the <var title="">month</var>. |
| 1127 |
|
#ja |
| 1128 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1129 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1130 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1131 |
|
この数を <var title="">month</var> とします。 |
| 1132 |
|
|
| 1133 |
|
#en |
| 1134 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1135 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1136 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1137 |
|
interpret the resulting sequence as a base-ten integer. Let that number |
| 1138 |
|
be the <var title="">day</var>. |
| 1139 |
|
#ja |
| 1140 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1141 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1142 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1143 |
|
この数を <var title="">day</var> とします。 |
| 1144 |
|
|
| 1145 |
|
#en |
| 1146 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1147 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1148 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1149 |
|
interpret the resulting sequence as a base-ten integer. Let that number |
| 1150 |
|
be the <var title="">hour</var>. |
| 1151 |
|
#ja |
| 1152 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1153 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1154 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1155 |
|
この数を <var title="">hour</var> とします。 |
| 1156 |
|
|
| 1157 |
|
#en |
| 1158 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1159 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1160 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1161 |
|
interpret the resulting sequence as a base-ten integer. Let that number |
| 1162 |
|
be the <var title="">minute</var>. |
| 1163 |
|
#ja |
| 1164 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1165 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1166 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1167 |
|
この数を <var title="">minute</var> とします。 |
| 1168 |
|
|
| 1169 |
|
#en |
| 1170 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1171 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1172 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1173 |
|
interpret the resulting sequence as a base-ten integer. Let that |
| 1174 |
|
number be the <var title="">timezone<sub title="">hours</sub></var>. |
| 1175 |
|
#ja |
| 1176 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1177 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1178 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1179 |
|
この数を <var title="">timezone<sub title="">hours</sub></var> とします。 |
| 1180 |
|
|
| 1181 |
|
#en |
| 1182 |
|
<a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range |
| 1183 |
|
U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected |
| 1184 |
|
sequence is not exactly two characters long, then fail. Otherwise, |
| 1185 |
|
interpret the resulting sequence as a base-ten integer. Let that |
| 1186 |
|
number be the <var title="">timezone<sub title="">minutes</sub></var>. |
| 1187 |
|
#ja |
| 1188 |
|
範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。 |
| 1189 |
|
集めた列が丁度2文字の長さでない場合、失敗です。 |
| 1190 |
|
そうでない場合、得られた列を十進整数として解釈します。 |
| 1191 |
|
この数を <var title="">timezone<sub title="">minutes</sub></var> とします。 |
| 1192 |
|
|
| 1193 |
|
#pattern |
| 1194 |
|
<span class=secno>* </span>Vaguer moments in time |
| 1195 |
|
#ja |
| 1196 |
|
<span class=secno>$1 </span>より曖昧な時刻 |
| 1197 |
|
|
| 1198 |
|
#en |
| 1199 |
|
This section defines <dfn id=date-or-time-string title="date or time string">date or |
| 1200 |
|
time strings</dfn>. There are two kinds, <dfn id=date-or-time-string-in-content title="date or |
| 1201 |
|
time string in content">date or time strings in content</dfn>, and <dfn |
| 1202 |
|
id=date-or-time-string-in-attributes title="date or time string in attributes">date or time strings |
| 1203 |
|
in attributes</dfn>. The only difference is in the handling of whitespace |
| 1204 |
|
characters. |
| 1205 |
|
#ja |
| 1206 |
|
この節は<dfn id=date-or-time-string title="date or time string">日付か時刻の文字列</dfn>を定義します。 |
| 1207 |
|
これは2種類あり、1つは<dfn id=date-or-time-string-in-content title="date or |
| 1208 |
|
time string in content">内容中の日付か時刻の文字列</dfn>で、 |
| 1209 |
|
もう1つは<dfn |
| 1210 |
|
id=date-or-time-string-in-attributes title="date or time string in attributes">属性中の日付か時刻の文字列</dfn>です。 |
| 1211 |
|
違いは空白文字の取扱いだけです。 |
| 1212 |
|
|
| 1213 |
|
#en |
| 1214 |
|
To parse a <a href=#date-or-time-string>date or time string</a>, user agents must |
| 1215 |
|
use the following algorithm. A <a href=#date-or-time-string>date or time string</a> |
| 1216 |
|
is a <em>valid</em> date or time string if the following algorithm, when |
| 1217 |
|
run on the string, doesn't say the string is invalid. |
| 1218 |
|
#ja |
| 1219 |
|
利用者エージェントは、<a href=#date-or-time-string>日付か時刻の文字列</a>を構文解析する際、 |
| 1220 |
|
次の算法を使わなければ[[MUST:なりません]]。<a href=#date-or-time-string>日付か時刻の文字列</a>は、 |
| 1221 |
|
次の算法を文字列上で走らせた時に文字列が非妥当であると言われなければ、 |
| 1222 |
|
<em>妥当</em>な日付か時刻の文字列です。 |
| 1223 |
|
|
| 1224 |
|
|
| 1225 |
|
#en |
| 1226 |
|
The algorithm may return nothing (in which case the string will be |
| 1227 |
|
invalid), or it may return a date, a time, a date and a time, or a date |
| 1228 |
|
and a time and a timezone. Even if the algorithm returns one or more |
| 1229 |
|
values, the string can still be invalid. |
| 1230 |
|
#ja |
| 1231 |
|
算法は何も返さない[[MAY:かもしれません]] (その場合文字列は非妥当です) |
| 1232 |
|
し、日付や時刻や日付と時刻や日付と時刻と時間帯を返す[[MAY:かもしれません]]。 |
| 1233 |
|
算法がいくつかの値を返した場合であっても、 |
| 1234 |
|
文字列は非妥当であることもあります。 |
| 1235 |
|
|
| 1236 |
|
|
| 1237 |
|
#en |
| 1238 |
|
Let <var title="">results</var> be the collection of results that are |
| 1239 |
|
to be returned (one or more of a date, a time, and a timezone), |
| 1240 |
|
initially empty. If the algorithm aborts at any point, then whatever is |
| 1241 |
|
currently in <var title="">results</var> must be returned as the result |
| 1242 |
|
of the algorithm. |
| 1243 |
|
#ja |
| 1244 |
|
<var title="">results</var> を、 |
| 1245 |
|
返される結果 (日付、時刻、時間帯の1つ以上) の集成で、 |
| 1246 |
|
はじめは空とします。 |
| 1247 |
|
算法が途中で停止した場合、その時点で <var title="">results</var> |
| 1248 |
|
に入っているものが何であれ算法の結果として返されなければ[[MUST:なりません]]。 |
| 1249 |
|
|
| 1250 |
|
#en |
| 1251 |
|
This specification uses the term <i>document</i> to |
| 1252 |
|
refer to any use of HTML, ranging from short static documents to |
| 1253 |
|
long essays or reports with rich multimedia, as well as to |
| 1254 |
|
fully-fledged interactive applications. |
| 1255 |
|
#ja |
| 1256 |
|
この仕様は、短く静的な文書から長くて豊富な多媒体を用いた随筆や報告書まで、 |
| 1257 |
|
あるいは一丁前の対話的なアプリケーションなど、 HTML のあらゆる用法をも含めて、 |
| 1258 |
|
用語<i>文書</i>を使って表します。 |
| 1259 |
|
|
| 1260 |
|
|
| 1261 |
|
#en |
| 1262 |
|
For simplicity, terms such as <i>shown</i>, <i>displayed</i>, |
| 1263 |
|
and <i>visible</i> might sometimes be used when referring to the |
| 1264 |
|
way a document is rendered to the user. These terms are not meant to |
| 1265 |
|
imply a visual medium; they must be considered to apply to other |
| 1266 |
|
media in equivalent ways. |
| 1267 |
|
#ja |
| 1268 |
|
簡単のため、文書が利用者に対してレンダリングされる方法に言及する際に<i>示す</i>、<i>表示する</i>、<i>可視である</i>といった用語を使うことがあります。 |
| 1269 |
|
これらの語を使っていても、視覚的な媒体を仮定しているわけではありません。 |
| 1270 |
|
他の媒体に対しても等価な方法で適用されると解釈し[[MUST:なければなりません]]。 |
| 1271 |
|
|
| 1272 |
|
#en |
| 1273 |
|
The <code>Document</code> of a <code>Node</code> (such as an |
| 1274 |
|
element) is the <code>Document</code> that the <code>Node</code>'s |
| 1275 |
|
<code title="">ownerDocument</code> DOM attribute returns. |
| 1276 |
|
#ja |
| 1277 |
|
<code>Node</code> (要素など) の <code>Document</code> とは、 |
| 1278 |
|
当該 <code>Node</code> の <code title="">ownerDocument</code> DOM |
| 1279 |
|
属性が返す <code>Document</code> です。 |
| 1280 |
|
|
| 1281 |
|
#en |
| 1282 |
|
An element is said to have been <dfn id=insert-an-element-into-a-document title="insert an element |
| 1283 |
|
into a document">inserted into a document</dfn> when its <a href=#root-element>root |
| 1284 |
|
element</a> changes and is now the document's <a href=#root-element>root |
| 1285 |
|
element</a>. If a <code>Node</code> is in a <code>Document</code> |
| 1286 |
|
then that <code>Document</code> is always the <code>Node</code>'s |
| 1287 |
|
<code>Document</code>, and the <code>Node</code>'s <code title="">ownerDocument</code> DOM attribute thus always returns that |
| 1288 |
|
<code>Document</code>. |
| 1289 |
|
#ja |
| 1290 |
|
要素は、その<a href=#root-element>根要素</a>が変化し、 |
| 1291 |
|
<a href=#root-element>根要素</a>が文書の<a href=#root-element>根要素</a>となった時、 |
| 1292 |
|
<dfn id=insert-an-element-into-a-document title="insert an element |
| 1293 |
|
into a document">文書に挿入された</dfn>といいます。 |