Re[2]: テーブルのマークアップでテーブルの説明情報を入れる場合の方法例5について

羽田野です。
ちょうどさきほどWHATWG側で訂正が入りましたね。
http://html5.org/tools/web-apps-tracker?from=5053&to=5054
つまり、figcaption要素のコンテンツ・モデルが、フレージングからフローに
なりましたね。

On Thu, 15 Apr 2010 16:09:49 +0900
Masataka Yakura <myakura.web@gmail.com> wrote:

> こんにちは。矢倉です。
> 
> 2010/4/15 Miwako Ichijo <usa132006@gmail.com>:
> > HTML5の仕様書でtable要素の解説中に、構造や意味の理解が難しいテーブルに関して説明情報を入れる場合の
> > マークアップ方法が提示されています。
> >
> > そのうちの5番目に
> > --------------------------
> > <figure>
> > ?<figcaption>
> > ?<strong>Characteristics with positive and negative sides</strong>
> > ?<p>Characteristics are given in the second column, with the
> > ?negative side in the left column and the positive side in the right
> > ?column.</p>
> > ?</figcaption>
> > ?<table>
> > ?<thead>
> > ? <tr>
> > ? ?<th id="n"> Negative
> > ? ?<th> Characteristic
> > ? ?<th> Positive
> > ?<tbody>
> > ? <tr>
> > ? ?<td headers="n r1"> Sad
> > ? ?<th id="r1"> Mood
> > ? ?<td> Happy
> > ? <tr>
> > ? ?<td headers="n r2"> Failing
> > ? ?<th id="r2"> Grade
> > ? ?<td> Passing
> > ?</table>
> > </figure>
> > ---------------------------
> > というマークアップがあるのですが、
> > figcaptionを使ったマークアップ部分に質問があります。
> >
> > ・ figcaptionのコンテンツ・モデルはフレージング・コンテンツ
> > ・ pはフロー・コンテンツのカテゴリにカテゴライズされているのみ
> >
> > なので、figcaptionの中には入れられないと思ったのですが、
> > 考え方が間違っていますでしょうか。
> 
> おやおや、変ですね……
> 気になったので聞いてみました。
> <http://krijnhoetmer.nl/irc-logs/whatwg/20100415#l-245>
> 
> EditorのHicksonによると、例ではなく <figcaption> の内容モデルの定義を間違えていたとのこと。
> <http://www.w3.org/Bugs/Public/show_bug.cgi?id=9523>
> 
> <figcaption> は以前は <dt> という名前 (<dl>と似たモデルになっていた) で、flow content
> を含めるようになっていたのですが、名前を変更したときに定義を間違えたようです。
> 
> というわけで、<p> があっても問題ありません。
> ご指摘ありがとうございます!
> 
> -- 
> Masataka Yakura
> <myakura.web@gmail.com>

--
Futomi Hatano
http://www.html5.jp/
http://www.futomi.com/
http://twitter.com/futomi

Received on Thursday, 15 April 2010 07:39:24 UTC