DOM水準2 段階的スタイルシート(CSS)インタフェースは,CSSの構成要素をオブジェクトモデルの使用者に開示することを目標として設計されている。段階的スタイルシートは,ウェブ文書をフォーマット付けしレンダリングする目的で使用される表示規則,特性及び補助的な構成要素を定義するための宣言的な構文とする。この規定は,CSS(特にCSS水準2[CSS2])によって提供される豊富なスタイル及び表示の制御にプログラムを通してアクセスし修正するための機構を規定する。このことは,CSSの規則及び特性を操作するだけではなく,個々のスタイルシートの取込み及び除外を動的に制御するための機構を提供することによって,CSSを強化する。
CSSインタフェースは,物理的な構造よりも論理的な構造で組織化される。文書によって参照される又は文書の中に埋め込まれるすべてのスタイルシートの集まりは,その文書のインタフェースでアクセス可能とする。この集まりの各項目は,HTML文書又はXML文書で参照される又はそれら文書に埋め込まれるすべてのスタイルシートに共通の特性を開示する。このインタフェースは,文書オブジェクトモデル スタイルシートで記述される。利用者スタイルシートは,この集まりを通じてはアクセスできない。これは,部分的には,潜在的なプライバシに関すること(及び確実に読み書きの課題であること)による。
各CSSスタイルシートに対して,追加のインタフェース,CSSStyleSheetインタフェースが開示される。このインタフェースは,CSSスタイルシート内の規則の集まり及びその集まりを修正するためのメソッドへのアクセスを可能にする。インタフェースは,共有される一般的なCSSRuleインタフェースだけでなく,CSS2における規則の各々の特定の型(例えば,スタイル宣言,@import規則,又は@font-face規則)に対しても提供される。
CSSStyleSheet
interface. This interface allows access to the collection of rules
within a CSS style sheet and methods to modify that collection.
Interfaces are provided for each specific type of rule in CSS2
(e.g. style declarations, @import rules, or
@font-face rules), as well as a shared generic CSSRule interface.
規則のうち最も共通な型は,スタイル宣言とする。規則のこの型を表現するCSSStyleRuleインタフェースは,その規則のCSS選択子への文字列アクセス,及びCSSStyleDeclarationインタフェースを通じての特性宣言へのアクセスを提供する。
CSSStyleRule
interface that represents this type of rule provides string access
to the CSS selector of the rule, and access to the property
declarations through the CSSStyleDeclaration
interface.
最後に,オプションのCSS2Propertiesインタフェースを記述する。このインタフェースは,実装されている場合には,CSS水準2におけるすべての特性の文字列値への手早い(アクセスの)方法を提供する。
CSS2Properties
interface is described; this interface (if implemented) provides
shortcuts to the string values of all the properties in CSS level
2.
DOMにおけるすべてのCSSオブジェクトは,"活性化(live)"している。すなわち,スタイルシートにおける変更は,計算された実際のスタイルに反映される。
2.2で示されるインタフェースは,基礎的なCSSインタフェースと考えられ,CSSモジュールのすべての適合する実装によってサポートされなければならない。これらのインタフェースは,CSSスタイルシートを特に表現している。
DOMアプリケーションは,このモジュールが実装によってサポートされるかどうかを決定するために,DOMImplementationインタフェースのhasFeature(feature, version)メソッドを,パラメタ値をそれぞれ"CSS"及び"2.0"として,使用してよい。このモジュールを完全にサポートするために,実装は,DOM水準2 コア規定[DOM Level 2 Core]で定義される"コア"機能,及びDOM水準2 ビュー規定 [DOM Level 2 Views]で定義される"ビュー"機能もサポートしなければならない。DOM水準2 コア規定[DOM Level 2 Core]における適合性についての追加情報を参照すること。
hasFeature(feature,
version) method of the DOMImplementation
interface with parameter values "CSS" and "2.0" (respectively) to
determine whether or not this module is supported by the
implementation. In order to fully support this module, an
implementation must also support the "Core" feature defined defined
in the DOM Level 2 Core specification [DOM Level 2 Core] and the
"Views" feature defined in the DOM Level 2 Views specification [DOM Level 2
Views]. Please refer to additional information about
conformance in the DOM Level 2 Core specification [DOM Level 2
Core].
CSSStyleSheetインタフェースは,CSSスタイルシート,すなわち,内容型が"text/css"であるスタイルシート,を表現するために使用する具体的なインタフェースとする。
CSSStyleSheet interface is a concrete interface
used to represent a CSS style sheet i.e., a style sheet whose
content type is "text/css".
// Introduced in DOM Level 2:
interface CSSStyleSheet : stylesheets::StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(DOMException);
void deleteRule(in unsigned long index)
raises(DOMException);
};
CSSRuleListのcssRules,読取り専用
cssRules of type CSSRuleList,
readonly
CSSRuleのownerRule,読取り専用
@import規則に由来する場合,ownerRule属性は,CSSImportRuleを含む。その場合,StyleSheetインタフェースの中のownerNode属性は,nullとなる。スタイルシートが要素又は処理命令に由来する場合には,ownerRule属性は,nullとなり,ownerNode属性は,Nodeを含む。@import rule,
the ownerRule attribute will contain the CSSImportRule.
In that case, the ownerNode attribute in the StyleSheet
interface will be null. If the style sheet comes from
an element or a processing instruction, the ownerRule
attribute will be null and the ownerNode
attribute will contain the Node.deleteRule
unsigned longのindex
index of type
unsigned long
|
|
INDEX_SIZE_ERR: 指定されたインデクスがスタイルシートの規則リストの中の規則に対応しない場合に,挙げられる。
INDEX_SIZE_ERR: Raised if the specified index does not
correspond to a rule in the style sheet's rule list.
NO_MODIFICATION_ALLOWED_ERR: このスタイルシートが読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
readonly.
|
insertRuleDOMStringのrule
rule of type
DOMString
unsigned longのindex
index of type
unsigned long
|
|
スタイルシートの規則集まり内での新しく挿入された規則のインデクス。
The index within the style sheet's rule collection of the newly
inserted rule.
|
|
|
HIERARCHY_REQUEST_ERR: 規則が指定されたインデクスに挿入できない場合,例えば,
HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
the specified index e.g. if an
@import rule is
inserted after a standard rule set or other at-rule.
INDEX_SIZE_ERR: 指定されたインデクスが有効な挿入点ではない場合に,挙げられる。
INDEX_SIZE_ERR: Raised if the specified index is not a valid
insertion point.
NO_MODIFICATION_ALLOWED_ERR: このスタイルシートが読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
readonly.
SYNTAX_ERR: 指定された規則に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified rule has a syntax error and
is unparsable.
|
CSSRuleListインタフェースは,CSS規則の順序付けられた集まりの抽象化したものを提供する。
CSSRuleList interface provides the abstraction
of an ordered collection of CSS rules.
CSSRuleListの中の項目は,0から開始する整数値のインデクスによってアクセス可能とする。
CSSRuleList are accessible via an
integral index, starting from 0.
// Introduced in DOM Level 2:
interface CSSRuleList {
readonly attribute unsigned long length;
CSSRule item(in unsigned long index);
};
itemnullを返す。
null.
unsigned longのindex
index of type
unsigned long
|
The style rule at the
index position in the
CSSRuleList, or null if that is not a
valid index.
|
CSSRuleインタフェースは,CSS文の任意の型に対する抽象基底インタフェースとする。これは,規則集合及び@規則の両方を含む。実装は,規則がパーサによって認識されない場合であっても,CSSスタイルシートの中で指定されたすべての規則を保存していると期待される。認識されない規則は,CSSUnknownRuleインタフェースを使って表現される。
CSSRule interface is the abstract base
interface for any type of CSS
statement. This includes both
rule sets and
at-rules. An implementation is expected to preserve
all rules specified in a CSS style sheet, even if the rule is not
recognized by the parser. Unrecognized rules are represented using
the CSSUnknownRule
interface.
// Introduced in DOM Level 2:
interface CSSRule {
// RuleType
const unsigned short UNKNOWN_RULE = 0;
const unsigned short STYLE_RULE = 1;
const unsigned short CHARSET_RULE = 2;
const unsigned short IMPORT_RULE = 3;
const unsigned short MEDIA_RULE = 4;
const unsigned short FONT_FACE_RULE = 5;
const unsigned short PAGE_RULE = 6;
readonly attribute unsigned short type;
attribute DOMString cssText;
// raises(DOMException) on setting
readonly attribute CSSStyleSheet parentStyleSheet;
readonly attribute CSSRule parentRule;
};
このインタフェースがどの型の規則になるかを示す整数。
CHARSET_RULECSSCharsetRuleとする。
CSSCharsetRule.
FONT_FACE_RULECSSFontFaceRuleとする。
CSSFontFaceRule.
IMPORT_RULECSSImportRuleとする。
CSSImportRule.
MEDIA_RULECSSMediaRuleとする。
CSSMediaRule.
PAGE_RULECSSPageRuleとする。
CSSPageRule.
STYLE_RULECSSStyleRuleとする。
CSSStyleRule.
UNKNOWN_RULECSSUnknownRuleとする。
CSSUnknownRule.
DOMStringのcssText
cssText of type
DOMString
|
|
SYNTAX_ERR: 指定されたCSS文字列値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.
INVALID_MODIFICATION_ERR: 指定されたCSS文字列値が現在の規則とは異なる型の規則を表現する場合に,挙げられる。
INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of rule than the current one.
HIERARCHY_REQUEST_ERR: 規則がスタイルシートの中のこの点に挿入できない場合に,挙げられる。
HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
this point in the style sheet.
NO_MODIFICATION_ALLOWED_ERR: 規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if the rule is readonly.
|
CSSRuleのparentRule,読取り専用
parentRule of type CSSRule, readonly
nullを返す。
null.CSSStyleSheetのparentStyleSheet,読取り専用
parentStyleSheet of type CSSStyleSheet,
readonly
unsigned shortのtype,読取り専用
type of type unsigned
short, readonly
CSSRuleインタフェースのインスタンスから,typeによって暗黙に示される(束縛)固有の導入されるインタフェースへとキャストを行うために使用可能と期待される。
CSSRule interface to the specific
derived interface implied by the type.
CSSStyleRuleインタフェースは,CSSスタイルシートの中の一つの規則集合を表現する。
CSSStyleRule interface represents a single
rule set in a CSS style sheet.
// Introduced in DOM Level 2:
interface CSSStyleRule : CSSRule {
attribute DOMString selectorText;
// raises(DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
DOMStringのselectorText
selectorText of
type DOMString
|
|
SYNTAX_ERR: 指定されたCSS文字列値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: この規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is
readonly.
|
CSSStyleDeclarationのstyle,読取り専用
style of type CSSStyleDeclaration,
readonly
CSSMediaRuleインタフェースは,CSSスタイルシートの中の@media規則を表現する。@media規則は,特定のメディア型に対してスタイル規則を制限するために使用できる。
CSSMediaRule interface represents a
@media rule in a CSS style sheet. A
@media rule can be used to delimit style rules for
specific media types.
// Introduced in DOM Level 2:
interface CSSMediaRule : CSSRule {
readonly attribute stylesheets::MediaList media;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(DOMException);
void deleteRule(in unsigned long index)
raises(DOMException);
};
CSSRuleListのcssRules,読取り専用
cssRules of type CSSRuleList,
readonly
stylesheets::MediaListのmedia,読取り専用
media of type
stylesheets::MediaList, readonly
deleteRuleunsigned longのindex
index of type
unsigned long
|
|
INDEX_SIZE_ERR: 指定されたインデクスがメディア規則リストの中の規則と対応しない場合に,挙げられる。
INDEX_SIZE_ERR: Raised if the specified index does not
correspond to a rule in the media rule list.
NO_MODIFICATION_ALLOWED_ERR: このメディア規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is
readonly.
|
insertRuleDOMStringのrule
rule of type
DOMString
unsigned longのindex
index of type
unsigned long
|
|
新しく挿入された規則の,メディアブロックの規則集まり内でのインデクス。
The index within the media block's rule collection of the newly
inserted rule.
|
|
|
HIERARCHY_REQUEST_ERR: 規則が指定されたインデクスの位置に挿入できない場合,例えば,
HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
the specified index, e.g., if an
@import rule is
inserted after a standard rule set or other at-rule.
INDEX_SIZE_ERR: 指定されたインデクスが有効な挿入点でない場合に,挙げられる。
INDEX_SIZE_ERR: Raised if the specified index is not a valid
insertion point.
NO_MODIFICATION_ALLOWED_ERR: このメディア規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is
readonly.
SYNTAX_ERR: 指定された規則に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified rule has a syntax error and
is unparsable.
|
CSSFontFaceRuleインタフェースは,CSSスタイルシートの中の@font-face規則を表現する。@font-face規則は,フォント記述の集合を保持するために使用する。
CSSFontFaceRule interface represents a
@font-face rule in a CSS style sheet. The
@font-face rule is used to hold a set of font
descriptions.
// Introduced in DOM Level 2:
interface CSSFontFaceRule : CSSRule {
readonly attribute CSSStyleDeclaration style;
};
CSSStyleDeclarationのstyle,読取り専用
style of type CSSStyleDeclaration,
readonly
CSSPageRuleインタフェースは,CSSスタイルシート内の@page規則を表現する。@page規則は,ページ付けされたメディアに対して,ページボックスの寸法,方向,マージンなどを指定するために使用する。
CSSPageRule interface represents a
@page rule within a CSS style sheet. The
@page rule is used to specify the dimensions,
orientation, margins, etc. of a page box for paged media.
// Introduced in DOM Level 2:
interface CSSPageRule : CSSRule {
attribute DOMString selectorText;
// raises(DOMException) on setting
readonly attribute CSSStyleDeclaration style;
};
DOMStringのselectorText
selectorText of type
DOMString
|
|
SYNTAX_ERR: 指定されたCSS文字列値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: この規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is
readonly.
|
CSSStyleDeclarationのstyle,読取り専用
style of type CSSStyleDeclaration,
readonly
CSSImportRuleインタフェースは,CSSスタイルシート内の@import規則を表現する。@import規則は,他のスタイルシートからのスタイル規則をインポートするために使用する。
CSSImportRule interface represents a
@import rule within a CSS style sheet. The
@import rule is used to import style rules from other
style sheets.
// Introduced in DOM Level 2:
interface CSSImportRule : CSSRule {
readonly attribute DOMString href;
readonly attribute stylesheets::MediaList media;
readonly attribute CSSStyleSheet styleSheet;
};
DOMStringのhref,読取り専用
href of type
DOMString, readonly
"url(...)"指定子を含まない。
"url(...)" specifier around the
URI.stylesheets::MediaListのmedia,読取り専用
media of type
stylesheets::MediaList, readonly
CSSStyleSheetのstyleSheet,読取り専用
styleSheet of type
CSSStyleSheet,
readonly
nullとする。
null if the
style sheet has not yet been loaded or if it will not be loaded
(e.g. if the style sheet is for a media type not supported by the
user agent).
CSSCharsetRuleインタフェースは,CSSスタイルシートの中の@charset規則を表現する。encoding属性の値は,DOMオブジェクトにおけるテキストデータの符号化には影響しない。DOMオブジェクトにおけるテキストデータの符号化は,常に,UTF-16とする。スタイルシートがロードされた後で,encoding属性の値は,@charset規則で見出される値となる。元の文書の中に@charsetが存在しなかった場合には,CSSCharsetRuleは生成されない。encoding属性の値は,スタイルシートの直列化で使用される符号化のヒントとして使ってもよい。
CSSCharsetRule interface represents a
@charset rule in a CSS style sheet. The value of the
encoding attribute does not affect the encoding of
text data in the DOM objects; this encoding is always UTF-16. After
a stylesheet is loaded, the value of the encoding
attribute is the value found in the @charset rule. If
there was no @charset in the original document, then
no CSSCharsetRule is created. The value of the
encoding attribute may also be used as a hint for the
encoding used on serialization of the style sheet.
@charset規則の値(及びしたがってCSSCharsetRuleの値)は,実際に到着する文書の符号化とは対応しなくてもよい。例えばHTTPヘッダの中の文字符号化情報が,優先される(CSS文書表現参照)。しかし,これは,CSSCharsetRuleの中には反映されない。
CSSCharsetRule) may not correspond to the encoding the
document actually came in; character encoding information e.g. in
an HTTP header, has priority (see
CSS document representation) but this is not reflected
in the CSSCharsetRule.
// Introduced in DOM Level 2:
interface CSSCharsetRule : CSSRule {
attribute DOMString encoding;
// raises(DOMException) on setting
};
DOMStringのencoding
encoding of type
DOMString
@charset規則で使用する符号化情報。
@charset
rule.|
|
SYNTAX_ERR: 指定された符号化値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified encoding value has a syntax
error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: この符号化規則が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is
readonly.
|
CSSUnknownRuleインタフェースは,この利用者エージェントがサポートしない@規則を表現する。
CSSUnknownRule interface represents an at-rule
not supported by this user agent.
// Introduced in DOM Level 2:
interface CSSUnknownRule : CSSRule {
};
CSSStyleDeclarationインタフェースは,単一のCSS宣言ブロックを表現する。このインタフェースは,ブロックの中で現在設定されているスタイル特性を決定するために,又はブロック内でスタイル特性を明示的に設定するために使用してよい。
CSSStyleDeclaration interface represents a
single
CSS declaration block. This interface may be used to
determine the style properties currently set in a block or to set
style properties explicitly within the block.
実装は,CSS宣言ブロック内のすべてのCSS特性を認識しなくともよいが,CSSStyleDeclarationインタフェースを通じてスタイルシートの中のすべての指定された特性へのアクセスを提供することを期待されている。さらに,CSSの特性の水準をサポートする実装は,その水準に対するCSS簡略記述特性を,正しく処理することが望ましい。簡略記述特性の詳しい議論については,CSS2Propertiesインタフェースを参照すること。
CSSStyleDeclaration interface. Furthermore,
implementations that support a specific level of CSS should
correctly handle
CSS shorthand properties for that level. For a further
discussion of shorthand properties, see the CSS2Properties
interface.
このインタフェースは,要素の計算された値への読取り専用のアクセスを提供するためにも使用する。ViewCSSインタフェースも参照すること。
ViewCSS interface.
備考 CSSオブジェクトモデルは,CSS段階の指定された値へのアクセスも実際の値へのアクセスも提供しない。
// Introduced in DOM Level 2:
interface CSSStyleDeclaration {
attribute DOMString cssText;
// raises(DOMException) on setting
DOMString getPropertyValue(in DOMString propertyName);
CSSValue getPropertyCSSValue(in DOMString propertyName);
DOMString removeProperty(in DOMString propertyName)
raises(DOMException);
DOMString getPropertyPriority(in DOMString propertyName);
void setProperty(in DOMString propertyName,
in DOMString value,
in DOMString priority)
raises(DOMException);
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
readonly attribute CSSRule parentRule;
};
DOMStringのcssText
cssText of type
DOMString
|
|
SYNTAX_ERR: 指定されたCSS文字列値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: この宣言が読取り専用であるか,特性が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or a property is readonly.
|
unsigned longのlength,読取り専用
length of type
unsigned long, readonly
CSSRuleのparentRule,読取り専用
parentRule of
type CSSRule,
readonly
CSSStyleDeclarationがCSSRuleに添付されない場合にはnull。
null if this CSSStyleDeclaration is not
attached to a CSSRule.getPropertyCSSValue
nullを返す。簡略記述特性の値は,getPropertyValueメソッド及びsetPropertyメソッドを使って,文字列としてだけ,アクセスでき修正できる。
null if
the property is a
shorthand property. Shorthand property values can only
be accessed and modified as strings, using the
getPropertyValue and setProperty methods.
DOMStringのpropertyName
propertyName of type
DOMString
|
特性がこの宣言ブロックに対して明示的に設定されている場合に,その特性の値を返す。特性が設定されていない場合には,
Returns the value of the property if it has been explicitly set
for this declaration block. Returns
null if the
property has not been set.
|
getPropertyPriority"important"限定子)を取得するために使用する。
"important" qualifier) if the property has
been explicitly set in this declaration block.
DOMStringのpropertyName
propertyName of type
DOMString
|
|
優先度(例えば,
A string representing the priority (e.g.
"important") if one exists. The empty string if none
exists.
|
getPropertyValueDOMStringのpropertyName
propertyName of type
DOMString
|
|
特性がこの宣言ブロックに対して明示的に設定されている場合に,その特性の値を返す。特性が設定されていない場合には,空文字列を返す。
Returns the value of the property if it has been explicitly set
for this declaration block. Returns the empty string if the
property has not been set.
|
itemunsigned longのindex
index of type
unsigned long
|
|
この順番の位置にある特性の名前。特性がこの位置に存在しない場合には,空文字列。
The name of the property at this ordinal position. The empty
string if no property exists at this position.
|
removePropertyDOMStringのpropertyName
propertyName of type
DOMString
|
|
特性がこの宣言ブロックに対して明示的に設定されている場合に,その特性の値を返す。特性が設定されていない,又は特性名が既知のCSS特性に対応していない場合には,空文字列を返す。
Returns the value of the property if it has been explicitly set
for this declaration block. Returns the empty string if the
property has not been set or the property name does not correspond
to a known CSS property.
|
|
|
NO_MODIFICATION_ALLOWED_ERR: この宣言が読取り専用であるか特性が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or the property is readonly.
|
setPropertyDOMStringのpropertyName
propertyName of type
DOMString
DOMStringのvalue
value of type
DOMString
DOMStringのpriority
priority of type
DOMString
"important")。
"important").|
|
SYNTAX_ERR: 指定された値に構文エラーがあり構文解析ができない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified value has a syntax error and
is unparsable.
NO_MODIFICATION_ALLOWED_ERR: この宣言が読取り専用又は特性が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or the property is readonly.
|
CSSValueインタフェースは,単純値又は複合値を表現する。CSSValueオブジェクトは,一つのCSS特性の文脈だけに出現する。
CSSValue interface represents a simple or a
complex value. A CSSValue object only occurs in a
context of a CSS property.
// Introduced in DOM Level 2:
interface CSSValue {
// UnitTypes
const unsigned short CSS_INHERIT = 0;
const unsigned short CSS_PRIMITIVE_VALUE = 1;
const unsigned short CSS_VALUE_LIST = 2;
const unsigned short CSS_CUSTOM = 3;
attribute DOMString cssText;
// raises(DOMException) on setting
readonly attribute unsigned short cssValueType;
};
単位のどの型が値に適用されるかを示す整数。
CSS_CUSTOMCSS_INHERITcssTextは"inherit"を含む。
cssText contains
"inherit".
CSS_PRIMITIVE_VALUECSSPrimitiveValueインタフェースのインスタンスは,CSSValueインタフェースのこのインスタンス上にある束縛固有のキャスト化メソッドを使用して含ませることができる。
CSSPrimitiveValue
interface can be obtained by using binding-specific casting methods
on this instance of the CSSValue interface.
CSS_VALUE_LISTCSSValueリストとし,CSSValueListインタフェースのインスタンスは,CSSValueインタフェースのこのインスタンス上にある束縛固有のキャスト化メソッドを使用して含ませることができる。
CSSValue list and an instance of
the CSSValueList
interface can be obtained by using binding-specific casting methods
on this instance of the CSSValue interface.
DOMStringのcssText
cssText of type
DOMString
|
|
SYNTAX_ERR: 指定されたCSS文字列値に(添付される特性に従った)構文エラーがあるか,又は構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error (according to the attached property) or is
unparsable.
INVALID_MODIFICATION_ERR: 指定されたCSS文字列値がCSS特性によって許された値以外の異なる型の値を表現する場合に,挙げられる。
INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of values than the values allowed
by the CSS property.
NO_MODIFICATION_ALLOWED_ERR: この値が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this value is
readonly.
|
unsigned shortのcssValueType,読取り専用
cssValueType of type
unsigned short, readonly
CSSPrimitiveValueインタフェースは,単一のCSS値を表現する。このインタフェースは,ブロックの中で現在設定されている特定のスタイル特性の値を決定するために,又はブロック内で明示的に特定のスタイル特性を設定するために,使用してよい。このインタフェースのインスタンスは,CSSStyleDeclarationインタフェースのgetPropertyCSSValueメソッドから得られるかもしれない。CSSPrimitiveValueオブジェクトは,一つのCSS特性の文脈だけに出現する。
CSSPrimitiveValue interface represents a single
CSS value. This interface may be used to determine the
value of a specific style property currently set in a block or to
set a specific style property explicitly within the block. An
instance of this interface might be obtained from the
getPropertyCSSValue method of the CSSStyleDeclaration
interface. A CSSPrimitiveValue object only occurs in a
context of a CSS property.
変換は,絶対値の間(ミリメートルからセンチメートルへ,度からラディアンへ,など)で許されるが,相対値の間では許されない。(例えば,画素値はセンチメートル値へは変換できない。)パーセント値は,親の値(又は他の特性値)に対して相対的なので変換できない。色のパーセント値は例外とする。色のパーセント値は0〜255の範囲に対して相対的なので,数に変換できる。RGBColorインタフェースも参照すること。
RGBColor
interface).
// Introduced in DOM Level 2:
interface CSSPrimitiveValue : CSSValue {
// UnitTypes
const unsigned short CSS_UNKNOWN = 0;
const unsigned short CSS_NUMBER = 1;
const unsigned short CSS_PERCENTAGE = 2;
const unsigned short CSS_EMS = 3;
const unsigned short CSS_EXS = 4;
const unsigned short CSS_PX = 5;
const unsigned short CSS_CM = 6;
const unsigned short CSS_MM = 7;
const unsigned short CSS_IN = 8;
const unsigned short CSS_PT = 9;
const unsigned short CSS_PC = 10;
const unsigned short CSS_DEG = 11;
const unsigned short CSS_RAD = 12;
const unsigned short CSS_GRAD = 13;
const unsigned short CSS_MS = 14;
const unsigned short CSS_S = 15;
const unsigned short CSS_HZ = 16;
const unsigned short CSS_KHZ = 17;
const unsigned short CSS_DIMENSION = 18;
const unsigned short CSS_STRING = 19;
const unsigned short CSS_URI = 20;
const unsigned short CSS_IDENT = 21;
const unsigned short CSS_ATTR = 22;
const unsigned short CSS_COUNTER = 23;
const unsigned short CSS_RECT = 24;
const unsigned short CSS_RGBCOLOR = 25;
readonly attribute unsigned short primitiveType;
void setFloatValue(in unsigned short unitType,
in float floatValue)
raises(DOMException);
float getFloatValue(in unsigned short unitType)
raises(DOMException);
void setStringValue(in unsigned short stringType,
in DOMString stringValue)
raises(DOMException);
DOMString getStringValue()
raises(DOMException);
Counter getCounterValue()
raises(DOMException);
Rect getRectValue()
raises(DOMException);
RGBColor getRGBColorValue()
raises(DOMException);
};
どの型の単位が値に適用されるかを示す整数。
CSS_ATTRgetStringValueメソッドを使用して得ることができる。
getStringValue method.
CSS_CMgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_COUNTERgetCounterValueメソッドを使用して得ることができる。
getCounterValue method.
CSS_DEGgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_DIMENSIONgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_EMSgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_EXSgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_GRADgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_HZgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_IDENTgetStringValueメソッドを使用して得ることができる。
getStringValue method.
CSS_INgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_KHZgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_MMgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_MSgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_NUMBERgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_PCgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_PERCENTAGEgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_PTgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_PXgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_RADgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_RECTgetRectValueメソッドを使用して得ることができる。
getRectValue method.
CSS_RGBCOLORgetRGBColorValueメソッドを使用して得ることができる。
getRGBColorValue method.
CSS_SgetFloatValueメソッドを使用して得ることができる。
getFloatValue method.
CSS_STRINGgetStringValueメソッドを使用して得ることができる。
getStringValue method.
CSS_UNKNOWNcssText属性を使用することによってだけ得ることができる。
cssText attribute.
CSS_URIgetStringValueメソッドを使用して得ることができる。
getStringValue method.
unsigned shortのprimitiveType,読取り専用
primitiveType
of type unsigned short, readonly
getCounterValueDOMExceptionが挙げられる。対応するスタイル特性への修正は,Counterインタフェースを使用して達成できる。
DOMException is raised. Modification to the
corresponding style property can be achieved using the Counter interface.
|
Counter値。
The Counter value.
|
|
|
INVALID_ACCESS_ERR: CSS値がCounter値を含まない場合に(例えば,これが
INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
Counter value (e.g. this is not
CSS_COUNTER).
|
getFloatValueDOMExceptionが挙げられる。
DOMException is raised.
unsigned shortのunitType
unitType of type
unsigned short
CSS_NUMBER,CSS_PERCENTAGE,CSS_EMS,CSS_EXS,CSS_PX,CSS_CM,CSS_MM,CSS_IN,CSS_PT,CSS_PC,CSS_DEG,CSS_RAD,CSS_GRAD,CSS_MS,CSS_S,CSS_HZ,CSS_KHZ,及びCSS_DIMENSION。CSS_NUMBER,
CSS_PERCENTAGE, CSS_EMS,
CSS_EXS, CSS_PX, CSS_CM,
CSS_MM, CSS_IN, CSS_PT,
CSS_PC, CSS_DEG, CSS_RAD,
CSS_GRAD, CSS_MS, CSS_S,
CSS_HZ, CSS_KHZ,
CSS_DIMENSION).|
|
指定された単位での浮動小数点数値。
The float value in the specified unit.
|
|
|
INVALID_ACCESS_ERR: CSS値が浮動小数点数値を含まない場合に,又はその浮動小数点数値が指定された単位に変換できない場合に,挙げられる。
INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
float value or if the float value can't be converted into the
specified unit.
|
getRGBColorValueDOMExceptionが挙げられる。対応するスタイル特性への修正は,RGBColorインタフェースを使用して達成できる。
DOMException is raised. Modification to the
corresponding style property can be achieved using the RGBColor interface.
|
RGB色値。
the RGB color value.
|
|
|
INVALID_ACCESS_ERR: 添付された特性がRGB色値を返せない場合に(例えば,これが
INVALID_ACCESS_ERR: Raised if the attached property can't return
a RGB color value (e.g. this is not
CSS_RGBCOLOR).
|
getRectValueDOMExceptionが挙げられる。対応するスタイル特性への修正は,Rectインタフェースを使用して達成できる。
DOMException is raised. Modification to the
corresponding style property can be achieved using the Rect interface.
|
Rect値。
The Rect value.
|
|
|
INVALID_ACCESS_ERR: CSS値がRect値を含まない場合に(例えば,これが
INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
Rect value. (e.g. this is not
CSS_RECT).
|
getStringValueDOMExceptionが挙げられる。
DOMException is raised.
備考 'font-family'又は'voice-family'のような幾つかの特性は,空白で分離したidents(識別子)のリストを一つの文字列に変換する。
|
|
現在の単位での文字列値。現在の
The string value in the current unit. The current
primitiveType can only be a string unit type (i.e.
CSS_STRING, CSS_URI,
CSS_IDENT and CSS_ATTR).
|
|
|
INVALID_ACCESS_ERR: CSS値が文字列値を含まない場合に,挙げられる。
INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
string value.
|
setFloatValueDOMExceptionが挙げられる。
DOMException will be raised.
unsigned shortのunitType
unitType of type
unsigned short
CSS_NUMBER,CSS_PERCENTAGE,CSS_EMS,CSS_EXS,CSS_PX,CSS_CM,CSS_MM,CSS_IN,CSS_PT,CSS_PC,CSS_DEG,CSS_RAD,CSS_GRAD,CSS_MS,CSS_S,CSS_HZ,CSS_KHZ,及びCSS_DIMENSIONとする。
CSS_NUMBER,
CSS_PERCENTAGE, CSS_EMS,
CSS_EXS, CSS_PX, CSS_CM,
CSS_MM, CSS_IN, CSS_PT,
CSS_PC, CSS_DEG, CSS_RAD,
CSS_GRAD, CSS_MS, CSS_S,
CSS_HZ, CSS_KHZ,
CSS_DIMENSION).floatのfloatValue
floatValue of type
float
|
|
INVALID_ACCESS_ERR: 添付された特性が浮動小数点数値又は単位の型をサポートしない場合に,挙げられる。
INVALID_ACCESS_ERR: Raised if the attached property doesn't
support the float value or the unit type.
NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.
|
setStringValueDOMExceptionが挙げられる。
DOMException will be raised.
unsigned shortのstringType
stringType of type
unsigned short
CSS_STRING,CSS_URI,CSS_IDENT,及びCSS_ATTRだけを可能とする。
CSS_STRING,
CSS_URI, CSS_IDENT, and
CSS_ATTR).DOMStringのstringValue
stringValue of type
DOMString
|
|
INVALID_ACCESS_ERR: CSS値が文字列値を含まない場合,又は文字列値が指定された単位に変換できない場合に,挙げられる。
INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
string value or if the string value can't be converted into the
specified unit.
NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.
|
CSSValueListインタフェースは,CSS値の順序付けられた集まりの抽象化を提供する。
CSSValueList interface provides the abstraction
of an ordered collection of CSS values.
空リストを構文に入れてもよい特性もある。その場合には,それらの特性はnone識別子を取る。そこで,空リストは,特性が値noneをもつことを意味する。
none identifier. So,
an empty list means that the property has the value
none.
CSSValueListの中の項目は,0から開始する整数インデクスによってアクセス可能とする。
CSSValueList are accessible via an
integral index, starting from 0.
// Introduced in DOM Level 2:
interface CSSValueList : CSSValue {
readonly attribute unsigned long length;
CSSValue item(in unsigned long index);
};
itemCSSValueを取得するために使用する。この集まりにおける順序は,CSSスタイル特性における値の順序を表現する。インデクスがリストの中の値の数よりも大きい又は等しい場合には,これはnullを返す。
CSSValue by ordinal
index. The order in this collection represents the order of the
values in the CSS style property. If index is greater than or equal
to the number of values in the list, this returns
null.
unsigned longのindex
index of type
unsigned long
RGBColorインタフェースは,あらゆるRGB色を表現するために使用する。このインタフェースは,基礎となるスタイル特性の中の値を反映する。そこで,CSSPrimitiveValueオブジェクトに対して行われる修正は,そのスタイル特性を修正する。
RGBColor interface is used to represent any
RGB color value. This interface reflects the values in
the underlying style property. Hence, modifications made to the CSSPrimitiveValue
objects modify the style property.
指定されるRGB色は,(その数値が0〜255又は0%〜100%の範囲にない場合でも,)切り取られない。計算されたRGB色は,装置に依存して切り取られる。
スタイルシートが色値に対して整数だけを含む場合であっても,この整数の内部記憶は浮動小数点数とし,これは,指定されたスタイル又は計算されたスタイルにおいて浮動小数点数として使用できる。
色パーセント値は,常に,一つの数に及びその反対に変換できる。
// Introduced in DOM Level 2:
interface RGBColor {
readonly attribute CSSPrimitiveValue red;
readonly attribute CSSPrimitiveValue green;
readonly attribute CSSPrimitiveValue blue;
};
CSSPrimitiveValueのblue,読取り専用
blue of type CSSPrimitiveValue,
readonly
CSSPrimitiveValueのgreen,読取り専用
green of type CSSPrimitiveValue,
readonly
CSSPrimitiveValueのred,読取り専用
red of type CSSPrimitiveValue,
readonly
Rectインタフェースは,あらゆるrect値を表現するために使用する。このインタフェースは,基礎となるスタイル特性の中の値を反映する。そこで,CSSPrimitiveValueオブジェクトに対して行われる修正は,そのスタイル特性を修正する。
Rect interface is used to represent any
rect value. This interface reflects the values in the
underlying style property. Hence, modifications made to the CSSPrimitiveValue
objects modify the style property.
// Introduced in DOM Level 2:
interface Rect {
readonly attribute CSSPrimitiveValue top;
readonly attribute CSSPrimitiveValue right;
readonly attribute CSSPrimitiveValue bottom;
readonly attribute CSSPrimitiveValue left;
};
CSSPrimitiveValueのbottom,読取り専用
bottom of type CSSPrimitiveValue,
readonly
CSSPrimitiveValueのleft,読取り専用
left of type CSSPrimitiveValue,
readonly
CSSPrimitiveValueのright,読取り専用
right of type CSSPrimitiveValue,
readonly
CSSPrimitiveValueのtop,読取り専用
top of type CSSPrimitiveValue,
readonly
Counterインタフェースは,あらゆるカウンタ又はカウンタ関数の値を表現するために使用する。このインタフェースは,基礎となるスタイル特性の中の値を反映する。
Counter interface is used to represent any
counter or counters function value. This interface
reflects the values in the underlying style property.
// Introduced in DOM Level 2:
interface Counter {
readonly attribute DOMString identifier;
readonly attribute DOMString listStyle;
readonly attribute DOMString separator;
};
DOMStringのidentifier,読取り専用
identifier of type
DOMString, readonly
DOMStringのlistStyle,読取り専用
listStyle of type
DOMString, readonly
DOMStringのseparator,読取り専用
separator of type
DOMString, readonly
このインタフェースは,CSSビューを表現する。getComputedStyleメソッドは,要素の計算された値への読取り専用アクセスを提供する。
getComputedStyle method provides a read only
access to the
computed values of an element.
ViewCSSインタフェースのインスタンスは,AbstractViewインタフェースのインスタンス上の束縛固有のキャスト化メソッドを使用して得ることができると期待される。
ViewCSS
interface can be obtained by using binding-specific casting methods
on an instance of the AbstractView interface.
計算されたスタイルはElementノードに関係しているので,この要素が文書から取り除かれる場合には,関連するCSSStyleDeclaration及びこの宣言と関係するCSSValueは,もはや有効ではない。
Element
node, if this element is removed from the document, the associated
CSSStyleDeclaration
and CSSValue
related to this declaration are no longer valid.
// Introduced in DOM Level 2:
interface ViewCSS : views::AbstractView {
CSSStyleDeclaration getComputedStyle(in Element elt,
in DOMString pseudoElt);
};
getComputedStyleElementのelt
elt of type
Element
DOMStringのpseudoElt
pseudoElt of type
DOMString
null。
null if none.|
計算されたスタイル。
The computed style. The
CSSStyleDeclaration
is read-only and contains only absolute values.
|
このインタフェースは,CSSビューをもつ文書を表現する。
getOverrideStyleメソッドは,DOM文書作成者が,明示的にリンクされた文書のスタイルシート又はスタイルシートの中の要素の行内スタイルを修正することなしに,要素のスタイルに迅速な変更を与えられる機構を提供する。このスタイルシートは,段階化アルゴリズムにおいて文書作成者スタイルシートの後に置かれ,上書きスタイルシートという。上書きスタイルシートは,文書作成者スタイルシートよりも高い優先度をもつ。"!important"宣言も,通常の宣言よりも高い優先度をもつ。上書きスタイルシート,文書作成者スタイルシート,及び利用者スタイルシートは,すべて,"!important"宣言を含んでもよい。利用者"!important"規則は,上書き"!important"規則及び文書作成者"!important"規則よりも高い優先度をもち,上書き"!important"規則は,文書作成者"!important"規則よりも高い優先度をもつ。
getOverrideStyle method provides a mechanism
through which a DOM author could effect immediate change to the
style of an element without modifying the explicitly linked style
sheets of a document or the inline style of elements in the style
sheets. This style sheet comes after the author style sheet in the
cascade algorithm and is called override style sheet. The
override style sheet takes precedence over author style sheets. An
"!important" declaration still takes precedence over a normal
declaration. Override, author, and user style sheets all may
contain "!important" declarations. User "!important" rules take
precedence over both override and author "!important" rules, and
override "!important" rules take precedence over author
"!important" rules.
DocumentCSSインタフェースのインスタンスは,Documentインタフェースのインスタンス上にある束縛固有なキャスト化メソッドを使用して得ることができると期待される。
DocumentCSS interface can be obtained by using
binding-specific casting methods on an instance of the
Document interface.
// Introduced in DOM Level 2:
interface DocumentCSS : stylesheets::DocumentStyle {
CSSStyleDeclaration getOverrideStyle(in Element elt,
in DOMString pseudoElt);
};
getOverrideStyleElementのelt
elt of type
Element
DOMStringのpseudoElt
pseudoElt of type
DOMString
null。
null if none.|
上書きスタイル宣言。
The override style declaration.
|
このインタフェースは,DOM利用者が文書の文脈の外部でCSSStyleSheetを生成することを可能にする。新しいCSSStyleSheetを,DOM水準2での文書と関連付ける方法は存在しない。
CSSStyleSheet
outside the context of a document. There is no way to associate the
new CSSStyleSheet
with a document in DOM Level 2.
// Introduced in DOM Level 2:
interface DOMImplementationCSS : DOMImplementation {
CSSStyleSheet createCSSStyleSheet(in DOMString title,
in DOMString media)
raises(DOMException);
};
createCSSStyleSheetCSSStyleSheetを生成する。
CSSStyleSheet.
DOMStringのtitle
title of type
DOMString
DOMStringのmedia
media of type
DOMString
|
新しいCSSスタイルシート。
A new CSS style sheet.
|
|
|
SYNTAX_ERR: 指定されたメディア文字列値に構文エラーがあり構文解析できない場合に,挙げられる。
SYNTAX_ERR: Raised if the specified media string value has a
syntax error and is unparsable.
|
要素に添付された行内スタイル情報は,style属性を通じて開示される。これは,HTML要素(又は同じ方法でSTYLE属性を使用する他のスキーマ若しくはDTDにおける要素)に対するSTYLE属性の内容を表現する。ElementCSSInlineStyleインタフェースのインスタンスは,Elementインタフェースが表現する要素が行内CSSスタイル情報をサポートする場合,そのElementインタフェースのインスタンス上の束縛固有なキャスト化メソッドを使用して得ることができる,と期待される。
style attribute. This represents the contents of
the
STYLE attribute for HTML elements (or elements in
other schemas or DTDs which use the STYLE attribute in the same
way). The expectation is that an instance of the
ElementCSSInlineStyle interface can be obtained by using
binding-specific casting methods on an instance of the Element
interface when the element supports inline CSS style
informations.
// Introduced in DOM Level 2:
interface ElementCSSInlineStyle {
readonly attribute CSSStyleDeclaration style;
};
CSSStyleDeclarationのstyle,読取り専用
style of type CSSStyleDeclaration,
readonly
2.3にあるインタフェースは,必須ではない。DOMアプリケーションは,このモジュールが実装によってサポートされるかどうかを決定するために,DOMImplementationインタフェースのhasFeature(feature, version)メソッドを,パラメタ値をそれぞれ"CSS"及び"2.0"として,使用してよい。このモジュールを完全にサポートするために,実装は,CSS基礎インタフェースの中で定義されている"CSS"機能もサポートしなければならない。DOM水準2コア規定[DOM水準2コア]の中の適合性についての追加情報を参照すること。
CSS2Propertiesインタフェースは,CSSStyleDeclaration内の特性の取得及び設定のための便利な機構を表現する。このインタフェースの属性は,CSS2の中で指定された特性のすべてに対応する。このインタフェースの属性の取得は,CSSStyleDeclarationインタフェースのgetPropertyValueメソッドの呼出しと等価とする。このインタフェースの属性の設定は,CSSStyleDeclarationインタフェースのsetPropertyメソッドの呼出しと等価とする。
適合するCSSモジュールの実装は,CSS2Propertiesインタフェースを実装することを要求されない。このインタフェースを実装する場合,言語固有メソッドがCSSStyleDeclarationインタフェースからCSS2Propertiesインタフェースへのキャストのために使用可能になることが,期待される。
このインタフェースを実装する場合,簡略記述特性の固有の構文を理解し,その意味を適用することが期待される。例えば,margin特性が設定された場合には,基礎となる実装によって,marginTop特性,marginRight特性,marginBottom特性及びmarginLeft特性が,実際に設定されている。
CSSの"簡略記述"特性を扱う場合,その簡略記述特性は,その構成要素である非簡略記述特性に適切に分解されることが望ましく,それらの値に対して問合せする場合には,返却される形式は,規則集合の中で行われた宣言と正確に等しい最短形式となることが望ましい。しかし,規則集合の中で既に宣言された規則をいかなる方法でも変更することなしに(すなわち,規則集合の中に以前に宣言されていない非簡略記述規則を追加することによって),その規則集合に追加が可能な簡略記述の宣言が存在していない場合,その簡略記述特性のためには空文字列が返されることが望ましい。
例えば,font特性に対する問合せは,"14pt Arial, sans-serif"で十分な場合には,"normal normal normal 14pt/normal Arial, sans-serif"を返さないほうがよい。(これらのnormalは,初期値であって,非簡略記述特性の使用によって暗示されている。)
特定の文字列を構成するすべての非簡略記述特性の値が初期値の場合,すべて初期値から成る文字列が返されることが望ましい。例えば,""ではなく,"medium"というborder-widthの値が返されることが望ましい。
margin特性,padding特性及びborder-[width|style|color]特性といった,他の側(右に対して左など)から指定されていない値を取ってくる簡略記述特性に対しては,可能な側の最小数を使用するのがよい。すなわち,"0px 10px 0px 10px"に代わりに"0px 10px"を返すのがよい。
"menu"の値をもつfont特性の場合のように,簡略記述特性の値が構成要素である非簡略記述特性に分解できない場合,構成要素の非簡略記述特性の値に対する問合せは,空文字列を返すことが望ましい。
// Introduced in DOM Level 2:
interface CSS2Properties {
attribute DOMString azimuth;
// raises(DOMException) on setting
attribute DOMString background;
// raises(DOMException) on setting
attribute DOMString backgroundAttachment;
// raises(DOMException) on setting
attribute DOMString backgroundColor;
// raises(DOMException) on setting
attribute DOMString backgroundImage;
// raises(DOMException) on setting
attribute DOMString backgroundPosition;
// raises(DOMException) on setting
attribute DOMString backgroundRepeat;
// raises(DOMException) on setting
attribute DOMString border;
// raises(DOMException) on setting
attribute DOMString borderCollapse;
// raises(DOMException) on setting
attribute DOMString borderColor;
// raises(DOMException) on setting
attribute DOMString borderSpacing;
// raises(DOMException) on setting
attribute DOMString borderStyle;
// raises(DOMException) on setting
attribute DOMString borderTop;
// raises(DOMException) on setting
attribute DOMString borderRight;
// raises(DOMException) on setting
attribute DOMString borderBottom;
// raises(DOMException) on setting
attribute DOMString borderLeft;
// raises(DOMException) on setting
attribute DOMString borderTopColor;
// raises(DOMException) on setting
attribute DOMString borderRightColor;
// raises(DOMException) on setting
attribute DOMString borderBottomColor;
// raises(DOMException) on setting
attribute DOMString borderLeftColor;
// raises(DOMException) on setting
attribute DOMString borderTopStyle;
// raises(DOMException) on setting
attribute DOMString borderRightStyle;
// raises(DOMException) on setting
attribute DOMString borderBottomStyle;
// raises(DOMException) on setting
attribute DOMString borderLeftStyle;
// raises(DOMException) on setting
attribute DOMString borderTopWidth;
// raises(DOMException) on setting
attribute DOMString borderRightWidth;
// raises(DOMException) on setting
attribute DOMString borderBottomWidth;
// raises(DOMException) on setting
attribute DOMString borderLeftWidth;
// raises(DOMException) on setting
attribute DOMString borderWidth;
// raises(DOMException) on setting
attribute DOMString bottom;
// raises(DOMException) on setting
attribute DOMString captionSide;
// raises(DOMException) on setting
attribute DOMString clear;
// raises(DOMException) on setting
attribute DOMString clip;
// raises(DOMException) on setting
attribute DOMString color;
// raises(DOMException) on setting
attribute DOMString content;
// raises(DOMException) on setting
attribute DOMString counterIncrement;
// raises(DOMException) on setting
attribute DOMString counterReset;
// raises(DOMException) on setting
attribute DOMString cue;
// raises(DOMException) on setting
attribute DOMString cueAfter;
// raises(DOMException) on setting
attribute DOMString cueBefore;
// raises(DOMException) on setting
attribute DOMString cursor;
// raises(DOMException) on setting
attribute DOMString direction;
// raises(DOMException) on setting
attribute DOMString display;
// raises(DOMException) on setting
attribute DOMString elevation;
// raises(DOMException) on setting
attribute DOMString emptyCells;
// raises(DOMException) on setting
attribute DOMString cssFloat;
// raises(DOMException) on setting
attribute DOMString font;
// raises(DOMException) on setting
attribute DOMString fontFamily;
// raises(DOMException) on setting
attribute DOMString fontSize;
// raises(DOMException) on setting
attribute DOMString fontSizeAdjust;
// raises(DOMException) on setting
attribute DOMString fontStretch;
// raises(DOMException) on setting
attribute DOMString fontStyle;
// raises(DOMException) on setting
attribute DOMString fontVariant;
// raises(DOMException) on setting
attribute DOMString fontWeight;
// raises(DOMException) on setting
attribute DOMString height;
// raises(DOMException) on setting
attribute DOMString left;
// raises(DOMException) on setting
attribute DOMString letterSpacing;
// raises(DOMException) on setting
attribute DOMString lineHeight;
// raises(DOMException) on setting
attribute DOMString listStyle;
// raises(DOMException) on setting
attribute DOMString listStyleImage;
// raises(DOMException) on setting
attribute DOMString listStylePosition;
// raises(DOMException) on setting
attribute DOMString listStyleType;
// raises(DOMException) on setting
attribute DOMString margin;
// raises(DOMException) on setting
attribute DOMString marginTop;
// raises(DOMException) on setting
attribute DOMString marginRight;
// raises(DOMException) on setting
attribute DOMString marginBottom;
// raises(DOMException) on setting
attribute DOMString marginLeft;
// raises(DOMException) on setting
attribute DOMString markerOffset;
// raises(DOMException) on setting
attribute DOMString marks;
// raises(DOMException) on setting
attribute DOMString maxHeight;
// raises(DOMException) on setting
attribute DOMString maxWidth;
// raises(DOMException) on setting
attribute DOMString minHeight;
// raises(DOMException) on setting
attribute DOMString minWidth;
// raises(DOMException) on setting
attribute DOMString orphans;
// raises(DOMException) on setting
attribute DOMString outline;
// raises(DOMException) on setting
attribute DOMString outlineColor;
// raises(DOMException) on setting
attribute DOMString outlineStyle;
// raises(DOMException) on setting
attribute DOMString outlineWidth;
// raises(DOMException) on setting
attribute DOMString overflow;
// raises(DOMException) on setting
attribute DOMString padding;
// raises(DOMException) on setting
attribute DOMString paddingTop;
// raises(DOMException) on setting
attribute DOMString paddingRight;
// raises(DOMException) on setting
attribute DOMString paddingBottom;
// raises(DOMException) on setting
attribute DOMString paddingLeft;
// raises(DOMException) on setting
attribute DOMString page;
// raises(DOMException) on setting
attribute DOMString pageBreakAfter;
// raises(DOMException) on setting
attribute DOMString pageBreakBefore;
// raises(DOMException) on setting
attribute DOMString pageBreakInside;
// raises(DOMException) on setting
attribute DOMString pause;
// raises(DOMException) on setting
attribute DOMString pauseAfter;
// raises(DOMException) on setting
attribute DOMString pauseBefore;
// raises(DOMException) on setting
attribute DOMString pitch;
// raises(DOMException) on setting
attribute DOMString pitchRange;
// raises(DOMException) on setting
attribute DOMString playDuring;
// raises(DOMException) on setting
attribute DOMString position;
// raises(DOMException) on setting
attribute DOMString quotes;
// raises(DOMException) on setting
attribute DOMString richness;
// raises(DOMException) on setting
attribute DOMString right;
// raises(DOMException) on setting
attribute DOMString size;
// raises(DOMException) on setting
attribute DOMString speak;
// raises(DOMException) on setting
attribute DOMString speakHeader;
// raises(DOMException) on setting
attribute DOMString speakNumeral;
// raises(DOMException) on setting
attribute DOMString speakPunctuation;
// raises(DOMException) on setting
attribute DOMString speechRate;
// raises(DOMException) on setting
attribute DOMString stress;
// raises(DOMException) on setting
attribute DOMString tableLayout;
// raises(DOMException) on setting
attribute DOMString textAlign;
// raises(DOMException) on setting
attribute DOMString textDecoration;
// raises(DOMException) on setting
attribute DOMString textIndent;
// raises(DOMException) on setting
attribute DOMString textShadow;
// raises(DOMException) on setting
attribute DOMString textTransform;
// raises(DOMException) on setting
attribute DOMString top;
// raises(DOMException) on setting
attribute DOMString unicodeBidi;
// raises(DOMException) on setting
attribute DOMString verticalAlign;
// raises(DOMException) on setting
attribute DOMString visibility;
// raises(DOMException) on setting
attribute DOMString voiceFamily;
// raises(DOMException) on setting
attribute DOMString volume;
// raises(DOMException) on setting
attribute DOMString whiteSpace;
// raises(DOMException) on setting
attribute DOMString widows;
// raises(DOMException) on setting
attribute DOMString width;
// raises(DOMException) on setting
attribute DOMString wordSpacing;
// raises(DOMException) on setting
attribute DOMString zIndex;
// raises(DOMException) on setting
};
DOMStringのazimuth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackground
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackgroundAttachment
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackgroundColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackgroundImage
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackgroundPosition
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbackgroundRepeat
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborder
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderBottom
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderBottomColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderBottomStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderBottomWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderCollapse
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderLeft
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderLeftColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderLeftStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderLeftWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderRight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderRightColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderRightStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderRightWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderSpacing
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderTop
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderTopColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderTopStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderTopWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのborderWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのbottom
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcaptionSide
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのclear
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのclip
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcolor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcontent
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcounterIncrement
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcounterReset
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcssFloat
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcue
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcueAfter
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcueBefore
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのcursor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのdirection
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのdisplay
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのelevation
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのemptyCells
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfont
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontFamily
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontSize
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontSizeAdjust
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontStretch
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontVariant
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのfontWeight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのheight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのleft
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのletterSpacing
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのlineHeight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのlistStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのlistStyleImage
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのlistStylePosition
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのlistStyleType
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmargin
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarginBottom
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarginLeft
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarginRight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarginTop
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarkerOffset
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmarks
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmaxHeight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのmaxWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのminHeight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのminWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのorphans
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのoutline
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのoutlineColor
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのoutlineStyle
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのoutlineWidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのoverflow
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpadding
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpaddingBottom
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpaddingLeft
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpaddingRight
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpaddingTop
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpage
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpageBreakAfter
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpageBreakBefore
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpageBreakInside
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpause
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpauseAfter
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpauseBefore
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpitch
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのpitchRange
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのplayDuring
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのposition
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのquotes
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのrichness
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのright
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのsize
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのspeak
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのspeakHeader
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのspeakNumeral
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのspeakPunctuation
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのspeechRate
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのstress
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtableLayout
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtextAlign
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtextDecoration
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtextIndent
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtextShadow
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtextTransform
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのtop
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのunicodeBidi
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのverticalAlign
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのvisibility
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのvoiceFamily
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのvolume
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのwhiteSpace
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのwidows
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのwidth
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのwordSpacing
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |
DOMStringのzIndex
|
|
SYNTAX_ERR: 新しい値に構文エラーがあって構文解析できない場合に,挙げられる。 NO_MODIFICATION_ALLOWED_ERR: この特性が読取り専用の場合に,挙げられる。 |