property

property

[12] CSSレンダリングの指示を行う引数のことを特性 (プロパティー) (property) といいます。

[15] CSS特性の一部は SVGXSL-FOVML といった他のマーク付け言語でも利用されていますが、 処理モデルは必ずしも同じではありません。

定義

CSS での定義

[13]

Property
CSS defines a finite set of parameters, called properties, that direct the rendering of a document. Each property has a name (e.g., 'color', 'font', or border') and a value (e.g., 'red', '12pt Times', or 'dotted'). Properties are attached to various parts of the document and to the page on which the document is to be displayed by the mechanisms of specificity, cascading, and inheritance (see the chapter on Assigning property values, Cascading, and Inheritance).
特性
CSS は「特性」と呼ぶ、文書レンダリングの指示を行う有限の引数集合を定義しています。 特性はそれぞれ名前 ('color'、'font'、'border' など) と値 ('red'、'12pt Times'、'dotted' など) を持ちます。特性文書の各部分や文書が表示されるに対して、 詳細度カスケード付け継承といった仕組みによって付与されます。

SVG での定義

[11]

property
A property is a parameter that helps specify how a document should be rendered. A complete list of the SVG properties can be found in the Attribute and Property Table appendix. Properties are assigned to elements in the SVG language by presentation attributes. See Styling.
特性
特性文書がどうレンダリングされるべきかの指定を助ける引数です。 特性SVG 言語の要素に対して表現属性の形で指定します。

用語

[1] CSS特性を、 物体特性と区別するため、 CSS 特性 (とくせい) (property) ということがあります。

[14] JIS X 4052 で定義されている CSS もどき (text/jss) では特性のことを属性と呼んでいます。

処理モデル

[9] 特性は4段階で計算されます。

  1. 指定値
  2. 算出値
  3. 使用値
  4. 実際値

[8] 利用者エージェントは、文書木中のすべての要素について、その媒体型に適用されるすべての特性を算出しなければなりません

実装

[7] WinIE 6 では、同じ宣言ブロック内で同じ特性が重複している場合で、後者が理解できない場合、前者の指定も有効になりません。

違う宣言ブロックなら正しく後の宣言が有効になります。

関連

[16] CSS特性CSSOM 上で IDL属性として反映されます。更に CSSOM 上の IDL属性JavaScript束縛物体特性として実装されます。

[2] CSS Indexes ( 版) <https://drafts.csswg.org/indexes/#properties>

[3] [cssom] Include vendor-prefixed properties in "supported CSS property" (zcorpan著, ) <https://github.com/w3c/csswg-drafts/commit/e2f369bdd8569e7e34910fe8dbaf2aa2920bdaa2>