メディアタイプを復習

渡邊さんの調査によるとWiiインターネットチャンネルお試し版のメディアタイプは常にscreenらしい。

何かがあるのは確実なので、メディアタイプの定義を改めて読み直してみる。

まずはメディアタイプの定義を強調しつつ引用。

handheld
Intended for handheld devices (typically small screen, monochrome, limited bandwidth).
projection
Intended for projected presentations, for example projectors or print to transparencies. Please consult the section on paged media for information about formatting issues that are specific to paged media.
screen
Intended primarily for color computer screens.
tv
Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available).

更にメディアグループの辺りからも強調しつつ引用。

Relationship between media groups and media types
Media Types Media Groups
continuous/paged visual/aural/tactile grid/bitmap interactive/static
handheld both visual both both
projection paged visual bitmap static
screen continuous visual bitmap both
tv both visual, aural bitmap both

Wiiインターネットチャンネルお試し版がメディアタイプtvを採用しなかったのは音声に起因すると見て間違いなさそう。@media tvで振り分けられればこの上なく楽なのだけれども、そんなにうまくいかないと云うことか。……と納得していたのだが、CSS2.1ではauralの表現がaudioになっている。audioは対応していると言って差し支えないよなぁ。Opera 9 でサポートされるウェブ仕様には例外があるもののCSS2.1に対応していると書いてあるし、Opera9ベースのWiiインターネットチャンネルのメディアタイプはtvでいい気がする。……というか、よく考えてみたらこのメディアグループ表って、そういう風に見るものじゃないよなぁ、とか。

それよりも意外だったのはprojectionメディアがstaticなメディアとして定義されていて、interactiveなメディアとしては定義されていないと云うこと。英語に疎い僕にはUser agents must ignore rules that apply to unsupported media typesunsupported media typesが何を指すのか今ひとつ特定できないのだけれども、projectionメディアとして動いているときにinteractiveなメディア向けのプロパティが無視されていなかったらそれは不正、ということになるのだろうか。もしそうならば、Operaがprojectionメディアとして機能しているときにcursorプロパティが有効になるのは不正な動作、ということになる。どうなんだろ、これ。

蛇足だが、これを実験していてOpera9.10はstyle属性にcursorプロパティを指定しているときそれを反映させないことがある、というバグがあることに気付いた。条件がよくわからないが、screenメディアとして機能しているときには反映されないような気がする。このバグについてはまだ突き詰めていない。気が向いたら暇なときに調べるかもしれない。……調べない気がする。

CSS2.1のワーキングドラフトを見たらメディアグループが様変わりしていた。先ほど引用した部分と差異があるところを強調しつつ再度引用する。

Relationship between media groups and media types
Media Types Media Groups
continuous/paged visual/audio/speech/tactile grid/bitmap interactive/static
handheld both visual, audio, speech both both
projection paged visual bitmap interactive
screen continuous visual, audio bitmap both
tv both visual, audio bitmap both

projectionメディアはinteractiveになったらしい。そっちの方が自然だ。

この文書の諸情報

この文書の永続的URI
http://kuruman.org/diary/2006/12/28/media-type
公開日時
2006年12月28日 午後9時59分26秒
最終更新日時
2006年12月29日 午前0時37分34秒
ヘルプ
フィードバックについて
RSS Feedによる更新情報
http://kuruman.org/note/index.xml
This document is licensed under a CC : by-nc. 2006, Kuruma; FOAF description.