| 1 |
#en |
| 2 |
The <code title=attr-id><a href="#id">id</a></code> attribute represents |
| 3 |
its element's unique identifier. The value must be unique in the subtree |
| 4 |
within which the element finds itself and must contain at least one |
| 5 |
character. The value must not contain any <a href="#space" title="space |
| 6 |
character">space characters</a>. |
| 7 |
#ja |
| 8 |
<code title=attr-id><a href="#id">id</a></code> 属性は、 |
| 9 |
その要素の固有識別子を表します。値はその要素が現れる部分木中で固有でなければ[[MUST:ならず]]、 |
| 10 |
最低1文字含まなければ[[MUST:なりません]]。 |
| 11 |
値は<a href="#space" title="space |
| 12 |
character">間隔文字</a>を含んでは[[MUST:なりません]]。 |
| 13 |
|
| 14 |
#en |
| 15 |
If the value is not the empty string, user agents must associate the |
| 16 |
element with the given value (exactly, including any space characters) for |
| 17 |
the purposes of ID matching within the subtree the element finds itself |
| 18 |
(e.g. for selectors in CSS or for the <code>getElementById()</code> method |
| 19 |
in the DOM). |
| 20 |
#ja |
| 21 |
利用者エージェントは、値が空文字列でない場合、 |
| 22 |
その要素が現れる部分木中で ID 一致を行うために |
| 23 |
(例えば CSS の選択子や DOM の <code>getElementById()</code> |
| 24 |
メソッドのために)、 |
| 25 |
その要素に指定された値を (間隔文字も含めてそのまま) |
| 26 |
関連付けなければ[[MUST:なりません]]。 |
| 27 |
|
| 28 |
#en |
| 29 |
Identifiers are opaque strings. Particular meanings should not be |
| 30 |
derived from the value of the <code title=attr-id><a |
| 31 |
href="#id">id</a></code> attribute. |
| 32 |
#ja |
| 33 |
識別子は不透明な文字列です。特定の意味を <code title=attr-id><a |
| 34 |
href="#id">id</a></code> 属性の値から見出す[[SHOULD:べきではありません]]。 |
| 35 |
|
| 36 |
#en |
| 37 |
This specification doesn't preclude an element having multiple IDs, if |
| 38 |
other mechanisms (e.g. DOM Core methods) can set an element's ID in a way |
| 39 |
that doesn't conflict with the <code title=attr-id><a |
| 40 |
href="#id">id</a></code> attribute. |
| 41 |
#ja |
| 42 |
この仕様書は、他の仕組み (例えば DOM 中核のメソッド) によって |
| 43 |
<code title=attr-id><a |
| 44 |
href="#id">id</a></code> 属性と矛盾しない形で要素の ID |
| 45 |
を設定することができる場合に、要素が複数の ID を持つことを禁じていません。 |
| 46 |
|
| 47 |
#regexp |
| 48 |
The * DOM attribute must <a |
| 49 |
href="#reflect">reflect</a> the * content attribute. |
| 50 |
#ja |
| 51 |
$1 DOM 属性は $2 内容属性を<a |
| 52 |
href="#reflect">反映</a>しなければ[[MUST:なりません]]。 |
| 53 |
|
| 54 |
#regexp |
| 55 |
<span class=secno>* </span>The * element |
| 56 |
#ja |
| 57 |
<span class=secno>$1 </span>$2 要素 |
| 58 |
|
| 59 |
#regexp |
| 60 |
<span class=secno>* </span>The * attribute |
| 61 |
#ja |
| 62 |
<span class=secno>$1 </span>$2 属性 |
| 63 |
|
| 64 |
#en |
| 65 |
Categories |
| 66 |
#ja |
| 67 |
分類 |
| 68 |
|
| 69 |
#en |
| 70 |
<a href="#metadata0">Metadata content</a>. |
| 71 |
#ja |
| 72 |
<a href="#metadata0">メタデータ内容</a>。 |
| 73 |
|
| 74 |
#en |
| 75 |
<a href="#flow-content0">Flow content</a>. |
| 76 |
#ja |
| 77 |
<a href="#flow-content0">流れ内容</a>。 |
| 78 |
|
| 79 |
#en |
| 80 |
Contexts in which this element may be used: |
| 81 |
#ja |
| 82 |
この要素を使っても[[MAY:よい]]文脈: |
| 83 |
|
| 84 |
#en |
| 85 |
Where <a href="#flow-content0">flow content</a> is expected. |
| 86 |
#ja |
| 87 |
<a href="#flow-content0">流れ内容</a>が期待される場所。 |
| 88 |
|
| 89 |
#en |
| 90 |
Content model: |
| 91 |
#ja |
| 92 |
内容モデル: |
| 93 |
|
| 94 |
#en |
| 95 |
<a href="#phrasing0">Phrasing content</a>. |
| 96 |
#ja |
| 97 |
<a href="#phrasing0">語句付け内容</a>。 |
| 98 |
|
| 99 |
#en |
| 100 |
Element-specific attributes: |
| 101 |
#ja |
| 102 |
要素固有属性: |
| 103 |
|
| 104 |
#en |
| 105 |
None. |
| 106 |
#ja |
| 107 |
なし。 |
| 108 |
|
| 109 |
#en |
| 110 |
DOM interface: |
| 111 |
#ja |
| 112 |
DOM 界面: |
| 113 |
|
| 114 |
#en |
| 115 |
Uses <code><a href="#htmlelement">HTMLElement</a></code>. |
| 116 |
#ja |
| 117 |
<code><a href="#htmlelement">HTMLElement</a></code> を使用。 |
| 118 |
|