Represents a font-face rule in a CSS style sheet.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | no | 1.0+ | no | 9.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
CSSFontFaceRule Constructor() : CSSFontFaceRule
Represents a font-face rule in a CSS style sheet.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ | ||
CSSFontFaceRule() : CSSFontFaceRuleRepresents a font-face rule in a CSS style sheet. Returns
|
||||||||
Inherited Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
cssText
: String
Text for the current CSS rule.
|
Show Details | 6.0+ | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
|
parentRule
: CSSRule
Parent rule for the current CSS rule.
|
Show Details | 6.0+ | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
|
parentStyleSheet
: CSSStyleSheet
CSS style sheet that contains the rule.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
|
type
: Number
Type of CSS rule.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
style
: CSSStyleDeclaration
Style(s) for the CSS rule.
|
Show Details | no | 1.0+ | no | 9.0+ | 1.0+ |
|
||||||
Availability
HTML DOM Level 2|W3C
