@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CSSRule")
public class CSSRule
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CHARSET_RULE |
static int |
COUNTER_STYLE_RULE |
java.lang.String |
cssText
The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
|
static int |
FONT_FACE_RULE |
static int |
FONT_FEATURE_VALUES_RULE |
static int |
FONT_PALETTE_VALUES_RULE |
static int |
IMPORT_RULE |
static int |
KEYFRAME_RULE |
static int |
KEYFRAMES_RULE |
static int |
MARGIN_RULE |
static int |
MEDIA_RULE |
static int |
NAMESPACE_RULE |
static int |
PAGE_RULE |
static int |
STYLE_RULE |
static int |
SUPPORTS_RULE |
| Modifier | Constructor and Description |
|---|---|
protected |
CSSRule() |
| Modifier and Type | Method and Description |
|---|---|
CSSRule |
parentRule() |
CSSStyleSheet |
parentStyleSheet()
The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
|
int |
type() |
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@JsOverlay public static final int CHARSET_RULE
@JsOverlay public static final int COUNTER_STYLE_RULE
@JsOverlay public static final int FONT_FACE_RULE
@JsOverlay public static final int FONT_FEATURE_VALUES_RULE
@JsOverlay public static final int FONT_PALETTE_VALUES_RULE
@JsOverlay public static final int IMPORT_RULE
@JsOverlay public static final int KEYFRAMES_RULE
@JsOverlay public static final int KEYFRAME_RULE
@JsOverlay public static final int MARGIN_RULE
@JsOverlay public static final int MEDIA_RULE
@JsOverlay public static final int NAMESPACE_RULE
@JsOverlay public static final int PAGE_RULE
@JsOverlay public static final int STYLE_RULE
@JsOverlay public static final int SUPPORTS_RULE
@Nonnull public java.lang.String cssText
@JsProperty(name="parentRule") @Nullable public CSSRule parentRule()
@JsProperty(name="parentStyleSheet") @Nullable public CSSStyleSheet parentStyleSheet()
@JsProperty(name="type") @CSSRuleType public int type()