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

Diff of /markup/html/html5/spec-ja/data/syntax.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.131 by apache, Sat Oct 25 07:45:54 2008 UTC revision 1.135 by apache, Sat Oct 25 07:53:31 2008 UTC
# Line 1155  A <code><a href=#the-th-element>th</a></ Line 1155  A <code><a href=#the-th-element>th</a></
1155  For historical reasons, certain elements have extra restrictions  For historical reasons, certain elements have extra restrictions
1156    beyond even the restrictions given by their content model.    beyond even the restrictions given by their content model.
1157  #ja  #ja
 歴史的理由により、内容モデルによる制限以上の追加の制限を持つ要素がいくつかあります。  
1158    歴史的理由により、内容モデルによる制限以上の追加の制限を持つ要素がいくつかあります。
1159    
1160    #en
1161    An <code><a href=#the-optgroup-element>optgroup</a></code> element <!--that is a descendant of a
1162      <code>select</code> element--> must not contain
1163      <code><a href=#the-optgroup-element>optgroup</a></code> elements, even though these elements are
1164      technically allowed to be nested according to the content models
1165      described in this specification. (If an <code><a href=#the-optgroup-element>optgroup</a></code>
1166      element is put inside another <!--<code>optgroup</code> element
1167      inside a <code>select</code> element--> in the markup, it will in
1168      fact imply an <code><a href=#the-optgroup-element>optgroup</a></code> end tag before it.)
1169    #ja
1170    <code><a href=#the-optgroup-element>optgroup</a></code> 要素は<!--that is a descendant of a
1171      <code>select</code> element-->、
1172    この仕様書で述べた内容モデルに従えば技術的には入れ子にできますが、
1173      <code><a href=#the-optgroup-element>optgroup</a></code>
1174    要素を含んでは[[MUST NOT:なりません]]。
1175    (<code><a href=#the-optgroup-element>optgroup</a></code>
1176    要素をマーク付け中で別の<!--<code>optgroup</code> element
1177      inside a <code>select</code> element-->
1178    <code><a href=#the-optgroup-element>optgroup</a></code> 要素中に配置しても、
1179    実際にはその前に <code><a href=#the-optgroup-element>optgroup</a></code>
1180    終了タグが暗示的に存在するものとみなされます。)
1181    
1182    #en
1183    A <code><a href=#the-table-element>table</a></code> element must not contain <code><a href=#the-tr-element>tr</a></code>
1184      elements, even though these elements are technically allowed inside
1185      <code><a href=#the-table-element>table</a></code> elements according to the content models
1186      described in this specification. (If a <code><a href=#the-tr-element>tr</a></code> element is
1187      put inside a <code><a href=#the-table-element>table</a></code> in the markup, it will in fact imply
1188      a <code><a href=#the-tbody-element>tbody</a></code> start tag before it.)
1189    #ja
1190    <code><a href=#the-table-element>table</a></code>
1191    要素はこの仕様書で述べた内容モデルに従えば技術的には内側で
1192    <code><a href=#the-tr-element>tr</a></code> 要素が認められていますが、
1193    <code><a href=#the-table-element>table</a></code>
1194    要素は <code><a href=#the-tr-element>tr</a></code> 要素を含んでは[[MUST NOT:なりません]]。
1195    (<code><a href=#the-tr-element>tr</a></code> 要素がマーク付け中で
1196    <code><a href=#the-table-element>table</a></code> 要素の内側に置かれた場合、
1197    実際には前に <code><a href=#the-tbody-element>tbody</a></code> 開始タグが暗示的に存在するものとみなされます。)
1198    
1199    #en
1200    A single U+000A LINE FEED (LF) character may be placed
1201      immediately after the <span title=syntax-start-tag>start
1202      tag</span> of <code><a href=#the-pre-element>pre</a></code> and <code><a href=#the-textarea-element>textarea</a></code>
1203      elements. This does not affect the processing of the element. The
1204      otherwise optional U+000A LINE FEED (LF) character <em>must</em> be
1205      included if the element's contents start with that character
1206      (because otherwise the leading newline in the contents would be
1207      treated like the optional newline, and ignored).
1208    #ja
1209    <code><a href=#the-pre-element>pre</a></code> 要素と
1210    <code><a href=#the-textarea-element>textarea</a></code>
1211    要素の<span title=syntax-start-tag>開始タグ</span>の直後に1文字の
1212     U+000A LINE FEED (LF) 文字を置いても[[MAY:構いません]]。
1213    この文字は要素の処理に影響しません。
1214    通常は任意選択のこの U+000A LINE FEED (LF) 文字は、
1215    要素の内容がこの文字から始まる場合には、含めなければ<em>[[MUST:なりません]]</em>
1216    (そうしなければ、内容の最初の改行は任意選択の改行として扱われ、無視されるからです)。
1217    
1218    
1219    #en
1220    The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent:
1221    #ja
1222    次の2つの <code><a href=#the-pre-element>pre</a></code>
1223    ブロックは等価です。

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.135

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24