鳩丸ぐろっさり (用語集)

bakera.jp > 鳩丸ぐろっさり (用語集) > 非推奨

用語「非推奨」について

非推奨 (ひすいしょう)

deprecated の訳語です。この言葉は HTML4.01 Spec. 4.1 (www.w3.org) で定義されています。

A deprecated element or attribute is one that has been outdated by newer constructs. Deprecated elements are defined in the reference manual in appropriate locations, but are clearly marked as deprecated. Deprecated elements may become obsolete in future versions of HTML.

User agents should continue to support deprecated elements for reasons of backward compatibility.

Definitions of elements and attributes clearly indicate which are deprecated.

This specification includes examples that illustrate how to avoid using deprecated elements. In most cases these depend on user agent support for style sheets. In general, authors should use style sheets to achieve stylistic and formatting effects rather than HTML presentational attributes. HTML presentational attributes have been deprecated when style sheet alternatives exist (see, for example, [CSS1]).

以上、http://www.w3.org/TR/html40/conform.html#h-4.1 より

要するに5つくらいありまして、

  1. deprecated な要素や属性はもう古いぞ。

  2. スタイルシートのような新しい仕組みで置き換えられるぞ。

  3. 将来は obsolete されるかも知れないぞ。

  4. 過去の仕様との互換性を保つために、UA は deprecated な要素のサポートも続けろよ。

  5. 見栄えに関するものは非推奨だぞ。

フレームに関する要素は deprecated とマークされてはいませんが、鳩丸は、Strict にあらざれば人にあらず(!?)という立場ですので、フレーム関係も非推奨扱いにしています。

なお、英単語 deprecated は、「推奨しない」という程度の意味ではなく、もっと強い意味を持っています。個人的にはこの訳語は少しニュアンスが違うと思うのですが、かといってよりよい訳語が思いつくわけでもなく……。

最近の日記

関わった本など