CSSStyleDeclaration Interface
A CSSStyleDeclaration is an interface to the declaration block returned by the style
property of a cssRule
in a stylesheet, when the rule is a CSSStyleRule.
CSSStyleDeclaration is also a read-only interface to the result of getComputedStyle.
Constructors
Code new CSSStyleDeclaration() #
CSSStyleDeclaration();
Methods
Code void set animation(value) #
Sets the value of "animation"
void set animation(var value);
Code void set animationDelay(value) #
Sets the value of "animation-delay"
void set animationDelay(var value);
Code void set animationDirection(value) #
Sets the value of "animation-direction"
void set animationDirection(var value);
Code String get animationDirection() #
Gets the value of "animation-direction"
String get animationDirection();
Code String get animationDuration() #
Gets the value of "animation-duration"
String get animationDuration();
Code void set animationDuration(value) #
Sets the value of "animation-duration"
void set animationDuration(var value);
Code String get animationFillMode() #
Gets the value of "animation-fill-mode"
String get animationFillMode();
Code void set animationFillMode(value) #
Sets the value of "animation-fill-mode"
void set animationFillMode(var value);
Code void set animationIterationCount(value) #
Sets the value of "animation-iteration-count"
void set animationIterationCount(var value);
Code String get animationIterationCount() #
Gets the value of "animation-iteration-count"
String get animationIterationCount();
Code void set animationName(value) #
Sets the value of "animation-name"
void set animationName(var value);
Code String get animationPlayState() #
Gets the value of "animation-play-state"
String get animationPlayState();
Code void set animationPlayState(value) #
Sets the value of "animation-play-state"
void set animationPlayState(var value);
Code void set animationTimingFunction(value) #
Sets the value of "animation-timing-function"
void set animationTimingFunction(var value);
Code String get animationTimingFunction() #
Gets the value of "animation-timing-function"
String get animationTimingFunction();
Code void set appearance(value) #
Sets the value of "appearance"
void set appearance(var value);
Code void set backfaceVisibility(value) #
Sets the value of "backface-visibility"
void set backfaceVisibility(var value);
Code String get backfaceVisibility() #
Gets the value of "backface-visibility"
String get backfaceVisibility();
Code void set background(value) #
Sets the value of "background"
void set background(var value);
Code String get backgroundAttachment() #
Gets the value of "background-attachment"
String get backgroundAttachment();
Code void set backgroundAttachment(value) #
Sets the value of "background-attachment"
void set backgroundAttachment(var value);
Code void set backgroundClip(value) #
Sets the value of "background-clip"
void set backgroundClip(var value);
Code String get backgroundColor() #
Gets the value of "background-color"
String get backgroundColor();
Code void set backgroundColor(value) #
Sets the value of "background-color"
void set backgroundColor(var value);
Code String get backgroundComposite() #
Gets the value of "background-composite"
String get backgroundComposite();
Code void set backgroundComposite(value) #
Sets the value of "background-composite"
void set backgroundComposite(var value);
Code void set backgroundImage(value) #
Sets the value of "background-image"
void set backgroundImage(var value);
Code String get backgroundImage() #
Gets the value of "background-image"
String get backgroundImage();
Code String get backgroundOrigin() #
Gets the value of "background-origin"
String get backgroundOrigin();
Code void set backgroundOrigin(value) #
Sets the value of "background-origin"
void set backgroundOrigin(var value);
Code String get backgroundPosition() #
Gets the value of "background-position"
String get backgroundPosition();
Code void set backgroundPosition(value) #
Sets the value of "background-position"
void set backgroundPosition(var value);
Code void set backgroundPositionX(value) #
Sets the value of "background-position-x"
void set backgroundPositionX(var value);
Code String get backgroundPositionX() #
Gets the value of "background-position-x"
String get backgroundPositionX();
Code void set backgroundPositionY(value) #
Sets the value of "background-position-y"
void set backgroundPositionY(var value);
Code String get backgroundPositionY() #
Gets the value of "background-position-y"
String get backgroundPositionY();
Code void set backgroundRepeat(value) #
Sets the value of "background-repeat"
void set backgroundRepeat(var value);
Code String get backgroundRepeat() #
Gets the value of "background-repeat"
String get backgroundRepeat();
Code String get backgroundRepeatX() #
Gets the value of "background-repeat-x"
String get backgroundRepeatX();
Code void set backgroundRepeatX(value) #
Sets the value of "background-repeat-x"
void set backgroundRepeatX(var value);
Code String get backgroundRepeatY() #
Gets the value of "background-repeat-y"
String get backgroundRepeatY();
Code void set backgroundRepeatY(value) #
Sets the value of "background-repeat-y"
void set backgroundRepeatY(var value);
Code void set backgroundSize(value) #
Sets the value of "background-size"
void set backgroundSize(var value);
Code void set border(value) #
Sets the value of "border"
void set border(var value);
Code void set borderAfter(value) #
Sets the value of "border-after"
void set borderAfter(var value);
Code String get borderAfterColor() #
Gets the value of "border-after-color"
String get borderAfterColor();
Code void set borderAfterColor(value) #
Sets the value of "border-after-color"
void set borderAfterColor(var value);
Code String get borderAfterStyle() #
Gets the value of "border-after-style"
String get borderAfterStyle();
Code void set borderAfterStyle(value) #
Sets the value of "border-after-style"
void set borderAfterStyle(var value);
Code void set borderAfterWidth(value) #
Sets the value of "border-after-width"
void set borderAfterWidth(var value);
Code String get borderAfterWidth() #
Gets the value of "border-after-width"
String get borderAfterWidth();
Code void set borderBefore(value) #
Sets the value of "border-before"
void set borderBefore(var value);
Code void set borderBeforeColor(value) #
Sets the value of "border-before-color"
void set borderBeforeColor(var value);
Code String get borderBeforeColor() #
Gets the value of "border-before-color"
String get borderBeforeColor();
Code void set borderBeforeStyle(value) #
Sets the value of "border-before-style"
void set borderBeforeStyle(var value);
Code String get borderBeforeStyle() #
Gets the value of "border-before-style"
String get borderBeforeStyle();
Code String get borderBeforeWidth() #
Gets the value of "border-before-width"
String get borderBeforeWidth();
Code void set borderBeforeWidth(value) #
Sets the value of "border-before-width"
void set borderBeforeWidth(var value);
Code void set borderBottom(value) #
Sets the value of "border-bottom"
void set borderBottom(var value);
Code String get borderBottomColor() #
Gets the value of "border-bottom-color"
String get borderBottomColor();
Code void set borderBottomColor(value) #
Sets the value of "border-bottom-color"
void set borderBottomColor(var value);
Code String get borderBottomLeftRadius() #
Gets the value of "border-bottom-left-radius"
String get borderBottomLeftRadius();
Code void set borderBottomLeftRadius(value) #
Sets the value of "border-bottom-left-radius"
void set borderBottomLeftRadius(var value);
Code String get borderBottomRightRadius() #
Gets the value of "border-bottom-right-radius"
String get borderBottomRightRadius();
Code void set borderBottomRightRadius(value) #
Sets the value of "border-bottom-right-radius"
void set borderBottomRightRadius(var value);
Code String get borderBottomStyle() #
Gets the value of "border-bottom-style"
String get borderBottomStyle();
Code void set borderBottomStyle(value) #
Sets the value of "border-bottom-style"
void set borderBottomStyle(var value);
Code void set borderBottomWidth(value) #
Sets the value of "border-bottom-width"
void set borderBottomWidth(var value);
Code String get borderBottomWidth() #
Gets the value of "border-bottom-width"
String get borderBottomWidth();
Code void set borderCollapse(value) #
Sets the value of "border-collapse"
void set borderCollapse(var value);
Code void set borderColor(value) #
Sets the value of "border-color"
void set borderColor(var value);
Code void set borderEnd(value) #
Sets the value of "border-end"
void set borderEnd(var value);
Code String get borderEndColor() #
Gets the value of "border-end-color"
String get borderEndColor();
Code void set borderEndColor(value) #
Sets the value of "border-end-color"
void set borderEndColor(var value);
Code String get borderEndStyle() #
Gets the value of "border-end-style"
String get borderEndStyle();
Code void set borderEndStyle(value) #
Sets the value of "border-end-style"
void set borderEndStyle(var value);
Code void set borderEndWidth(value) #
Sets the value of "border-end-width"
void set borderEndWidth(var value);
Code String get borderEndWidth() #
Gets the value of "border-end-width"
String get borderEndWidth();
Code void set borderFit(value) #
Sets the value of "border-fit"
void set borderFit(var value);
Code void set borderHorizontalSpacing(value) #
Sets the value of "border-horizontal-spacing"
void set borderHorizontalSpacing(var value);
Code String get borderHorizontalSpacing() #
Gets the value of "border-horizontal-spacing"
String get borderHorizontalSpacing();
Code void set borderImage(value) #
Sets the value of "border-image"
void set borderImage(var value);
Code String get borderImageOutset() #
Gets the value of "border-image-outset"
String get borderImageOutset();
Code void set borderImageOutset(value) #
Sets the value of "border-image-outset"
void set borderImageOutset(var value);
Code void set borderImageRepeat(value) #
Sets the value of "border-image-repeat"
void set borderImageRepeat(var value);
Code String get borderImageRepeat() #
Gets the value of "border-image-repeat"
String get borderImageRepeat();
Code void set borderImageSlice(value) #
Sets the value of "border-image-slice"
void set borderImageSlice(var value);
Code String get borderImageSlice() #
Gets the value of "border-image-slice"
String get borderImageSlice();
Code void set borderImageSource(value) #
Sets the value of "border-image-source"
void set borderImageSource(var value);
Code String get borderImageSource() #
Gets the value of "border-image-source"
String get borderImageSource();
Code String get borderImageWidth() #
Gets the value of "border-image-width"
String get borderImageWidth();
Code void set borderImageWidth(value) #
Sets the value of "border-image-width"
void set borderImageWidth(var value);
Code void set borderLeft(value) #
Sets the value of "border-left"
void set borderLeft(var value);
Code void set borderLeftColor(value) #
Sets the value of "border-left-color"
void set borderLeftColor(var value);
Code String get borderLeftColor() #
Gets the value of "border-left-color"
String get borderLeftColor();
Code String get borderLeftStyle() #
Gets the value of "border-left-style"
String get borderLeftStyle();
Code void set borderLeftStyle(value) #
Sets the value of "border-left-style"
void set borderLeftStyle(var value);
Code void set borderLeftWidth(value) #
Sets the value of "border-left-width"
void set borderLeftWidth(var value);
Code String get borderLeftWidth() #
Gets the value of "border-left-width"
String get borderLeftWidth();
Code void set borderRadius(value) #
Sets the value of "border-radius"
void set borderRadius(var value);
Code void set borderRight(value) #
Sets the value of "border-right"
void set borderRight(var value);
Code void set borderRightColor(value) #
Sets the value of "border-right-color"
void set borderRightColor(var value);
Code String get borderRightColor() #
Gets the value of "border-right-color"
String get borderRightColor();
Code String get borderRightStyle() #
Gets the value of "border-right-style"
String get borderRightStyle();
Code void set borderRightStyle(value) #
Sets the value of "border-right-style"
void set borderRightStyle(var value);
Code String get borderRightWidth() #
Gets the value of "border-right-width"
String get borderRightWidth();
Code void set borderRightWidth(value) #
Sets the value of "border-right-width"
void set borderRightWidth(var value);
Code void set borderSpacing(value) #
Sets the value of "border-spacing"
void set borderSpacing(var value);
Code void set borderStart(value) #
Sets the value of "border-start"
void set borderStart(var value);
Code String get borderStartColor() #
Gets the value of "border-start-color"
String get borderStartColor();
Code void set borderStartColor(value) #
Sets the value of "border-start-color"
void set borderStartColor(var value);
Code String get borderStartStyle() #
Gets the value of "border-start-style"
String get borderStartStyle();
Code void set borderStartStyle(value) #
Sets the value of "border-start-style"
void set borderStartStyle(var value);
Code String get borderStartWidth() #
Gets the value of "border-start-width"
String get borderStartWidth();
Code void set borderStartWidth(value) #
Sets the value of "border-start-width"
void set borderStartWidth(var value);
Code void set borderStyle(value) #
Sets the value of "border-style"
void set borderStyle(var value);
Code void set borderTop(value) #
Sets the value of "border-top"
void set borderTop(var value);
Code String get borderTopColor() #
Gets the value of "border-top-color"
String get borderTopColor();
Code void set borderTopColor(value) #
Sets the value of "border-top-color"
void set borderTopColor(var value);
Code void set borderTopLeftRadius(value) #
Sets the value of "border-top-left-radius"
void set borderTopLeftRadius(var value);
Code String get borderTopLeftRadius() #
Gets the value of "border-top-left-radius"
String get borderTopLeftRadius();
Code String get borderTopRightRadius() #
Gets the value of "border-top-right-radius"
String get borderTopRightRadius();
Code void set borderTopRightRadius(value) #
Sets the value of "border-top-right-radius"
void set borderTopRightRadius(var value);
Code void set borderTopStyle(value) #
Sets the value of "border-top-style"
void set borderTopStyle(var value);
Code String get borderTopStyle() #
Gets the value of "border-top-style"
String get borderTopStyle();
Code void set borderTopWidth(value) #
Sets the value of "border-top-width"
void set borderTopWidth(var value);
Code String get borderTopWidth() #
Gets the value of "border-top-width"
String get borderTopWidth();
Code String get borderVerticalSpacing() #
Gets the value of "border-vertical-spacing"
String get borderVerticalSpacing();
Code void set borderVerticalSpacing(value) #
Sets the value of "border-vertical-spacing"
void set borderVerticalSpacing(var value);
Code void set borderWidth(value) #
Sets the value of "border-width"
void set borderWidth(var value);
Code void set bottom(value) #
Sets the value of "bottom"
void set bottom(var value);
Code void set boxAlign(value) #
Sets the value of "box-align"
void set boxAlign(var value);
Code void set boxDirection(value) #
Sets the value of "box-direction"
void set boxDirection(var value);
Code void set boxFlex(value) #
Sets the value of "box-flex"
void set boxFlex(var value);
Code void set boxFlexGroup(value) #
Sets the value of "box-flex-group"
void set boxFlexGroup(var value);
Code void set boxLines(value) #
Sets the value of "box-lines"
void set boxLines(var value);
Code void set boxOrdinalGroup(value) #
Sets the value of "box-ordinal-group"
void set boxOrdinalGroup(var value);
Code String get boxOrdinalGroup() #
Gets the value of "box-ordinal-group"
String get boxOrdinalGroup();
Code void set boxOrient(value) #
Sets the value of "box-orient"
void set boxOrient(var value);
Code void set boxPack(value) #
Sets the value of "box-pack"
void set boxPack(var value);
Code void set boxReflect(value) #
Sets the value of "box-reflect"
void set boxReflect(var value);
Code void set boxShadow(value) #
Sets the value of "box-shadow"
void set boxShadow(var value);
Code void set boxSizing(value) #
Sets the value of "box-sizing"
void set boxSizing(var value);
Code void set captionSide(value) #
Sets the value of "caption-side"
void set captionSide(var value);
Code void set clear(value) #
Sets the value of "clear"
void set clear(var value);
Code void set clip(value) #
Sets the value of "clip"
void set clip(var value);
Code void set color(value) #
Sets the value of "color"
void set color(var value);
Code String get colorCorrection() #
Gets the value of "color-correction"
String get colorCorrection();
Code void set colorCorrection(value) #
Sets the value of "color-correction"
void set colorCorrection(var value);
Code String get columnBreakAfter() #
Gets the value of "column-break-after"
String get columnBreakAfter();
Code void set columnBreakAfter(value) #
Sets the value of "column-break-after"
void set columnBreakAfter(var value);
Code String get columnBreakBefore() #
Gets the value of "column-break-before"
String get columnBreakBefore();
Code void set columnBreakBefore(value) #
Sets the value of "column-break-before"
void set columnBreakBefore(var value);
Code void set columnBreakInside(value) #
Sets the value of "column-break-inside"
void set columnBreakInside(var value);
Code String get columnBreakInside() #
Gets the value of "column-break-inside"
String get columnBreakInside();
Code void set columnCount(value) #
Sets the value of "column-count"
void set columnCount(var value);
Code void set columnGap(value) #
Sets the value of "column-gap"
void set columnGap(var value);
Code void set columnRule(value) #
Sets the value of "column-rule"
void set columnRule(var value);
Code String get columnRuleColor() #
Gets the value of "column-rule-color"
String get columnRuleColor();
Code void set columnRuleColor(value) #
Sets the value of "column-rule-color"
void set columnRuleColor(var value);
Code void set columnRuleStyle(value) #
Sets the value of "column-rule-style"
void set columnRuleStyle(var value);
Code String get columnRuleStyle() #
Gets the value of "column-rule-style"
String get columnRuleStyle();
Code void set columnRuleWidth(value) #
Sets the value of "column-rule-width"
void set columnRuleWidth(var value);
Code String get columnRuleWidth() #
Gets the value of "column-rule-width"
String get columnRuleWidth();
Code void set columnSpan(value) #
Sets the value of "column-span"
void set columnSpan(var value);
Code void set columnWidth(value) #
Sets the value of "column-width"
void set columnWidth(var value);
Code void set columns(value) #
Sets the value of "columns"
void set columns(var value);
Code void set content(value) #
Sets the value of "content"
void set content(var value);
Code String get counterIncrement() #
Gets the value of "counter-increment"
String get counterIncrement();
Code void set counterIncrement(value) #
Sets the value of "counter-increment"
void set counterIncrement(var value);
Code void set counterReset(value) #
Sets the value of "counter-reset"
void set counterReset(var value);
Code void set cursor(value) #
Sets the value of "cursor"
void set cursor(var value);
Code void set direction(value) #
Sets the value of "direction"
void set direction(var value);
Code void set display(value) #
Sets the value of "display"
void set display(var value);
Code void set emptyCells(value) #
Sets the value of "empty-cells"
void set emptyCells(var value);
Code void set filter(value) #
Sets the value of "filter"
void set filter(var value);
Code void set flexAlign(value) #
Sets the value of "flex-align"
void set flexAlign(var value);
Code void set flexFlow(value) #
Sets the value of "flex-flow"
void set flexFlow(var value);
Code void set flexOrder(value) #
Sets the value of "flex-order"
void set flexOrder(var value);
Code void set flexPack(value) #
Sets the value of "flex-pack"
void set flexPack(var value);
Code void set float(value) #
Sets the value of "float"
void set float(var value);
Code void set flowFrom(value) #
Sets the value of "flow-from"
void set flowFrom(var value);
Code void set flowInto(value) #
Sets the value of "flow-into"
void set flowInto(var value);
Code void set font(value) #
Sets the value of "font"
void set font(var value);
Code void set fontFamily(value) #
Sets the value of "font-family"
void set fontFamily(var value);
Code String get fontFeatureSettings() #
Gets the value of "font-feature-settings"
String get fontFeatureSettings();
Code void set fontFeatureSettings(value) #
Sets the value of "font-feature-settings"
void set fontFeatureSettings(var value);
Code void set fontSize(value) #
Sets the value of "font-size"
void set fontSize(var value);
Code void set fontSizeDelta(value) #
Sets the value of "font-size-delta"
void set fontSizeDelta(var value);
Code void set fontSmoothing(value) #
Sets the value of "font-smoothing"
void set fontSmoothing(var value);
Code void set fontStretch(value) #
Sets the value of "font-stretch"
void set fontStretch(var value);
Code void set fontStyle(value) #
Sets the value of "font-style"
void set fontStyle(var value);
Code void set fontVariant(value) #
Sets the value of "font-variant"
void set fontVariant(var value);
Code void set fontWeight(value) #
Sets the value of "font-weight"
void set fontWeight(var value);
Code CSSValue getPropertyCSSValue(String propertyName) #
Returns a CSSValue, or
null
for Shorthand properties.Example: cssString= window.getComputedStyle(elem,
null
).getPropertyCSSValue('color').cssText;Note: Gecko 1.9 returns null unless using getComputedStyle().
Note: this method may be deprecated by the W3C.
CSSValue getPropertyCSSValue(String propertyName);
Code String getPropertyPriority(String propertyName) #
Example: priString= styleObj.getPropertyPriority('color')
String getPropertyPriority(String propertyName);
Code String getPropertyShorthand(String propertyName) #
String getPropertyShorthand(String propertyName);
Code String getPropertyValue(String propertyName) #
Example: valString= styleObj.getPropertyValue('color')
String getPropertyValue(String propertyName);
Code void set height(value) #
Sets the value of "height"
void set height(var value);
Code void set highlight(value) #
Sets the value of "highlight"
void set highlight(var value);
Code void set hyphenateCharacter(value) #
Sets the value of "hyphenate-character"
void set hyphenateCharacter(var value);
Code String get hyphenateCharacter() #
Gets the value of "hyphenate-character"
String get hyphenateCharacter();
Code void set hyphenateLimitAfter(value) #
Sets the value of "hyphenate-limit-after"
void set hyphenateLimitAfter(var value);
Code String get hyphenateLimitAfter() #
Gets the value of "hyphenate-limit-after"
String get hyphenateLimitAfter();
Code void set hyphenateLimitBefore(value) #
Sets the value of "hyphenate-limit-before"
void set hyphenateLimitBefore(var value);
Code String get hyphenateLimitBefore() #
Gets the value of "hyphenate-limit-before"
String get hyphenateLimitBefore();
Code void set hyphenateLimitLines(value) #
Sets the value of "hyphenate-limit-lines"
void set hyphenateLimitLines(var value);
Code String get hyphenateLimitLines() #
Gets the value of "hyphenate-limit-lines"
String get hyphenateLimitLines();
Code void set hyphens(value) #
Sets the value of "hyphens"
void set hyphens(var value);
Code void set imageRendering(value) #
Sets the value of "image-rendering"
void set imageRendering(var value);
Code String item(int index) #
Example: nameString= styleObj.item(0)
Alternative: nameString= styleObj[0]
String item(int index);
Code void set left(value) #
Sets the value of "left"
void set left(var value);
Code void set letterSpacing(value) #
Sets the value of "letter-spacing"
void set letterSpacing(var value);
Code void set lineBoxContain(value) #
Sets the value of "line-box-contain"
void set lineBoxContain(var value);
Code String get lineBoxContain() #
Gets the value of "line-box-contain"
String get lineBoxContain();
Code void set lineBreak(value) #
Sets the value of "line-break"
void set lineBreak(var value);
Code void set lineClamp(value) #
Sets the value of "line-clamp"
void set lineClamp(var value);
Code void set lineHeight(value) #
Sets the value of "line-height"
void set lineHeight(var value);
Code void set listStyle(value) #
Sets the value of "list-style"
void set listStyle(var value);
Code String get listStyleImage() #
Gets the value of "list-style-image"
String get listStyleImage();
Code void set listStyleImage(value) #
Sets the value of "list-style-image"
void set listStyleImage(var value);
Code void set listStylePosition(value) #
Sets the value of "list-style-position"
void set listStylePosition(var value);
Code String get listStylePosition() #
Gets the value of "list-style-position"
String get listStylePosition();
Code void set listStyleType(value) #
Sets the value of "list-style-type"
void set listStyleType(var value);
Code void set locale(value) #
Sets the value of "locale"
void set locale(var value);
Code void set logicalHeight(value) #
Sets the value of "logical-height"
void set logicalHeight(var value);
Code void set logicalWidth(value) #
Sets the value of "logical-width"
void set logicalWidth(var value);
Code void set margin(value) #
Sets the value of "margin"
void set margin(var value);
Code void set marginAfter(value) #
Sets the value of "margin-after"
void set marginAfter(var value);
Code String get marginAfterCollapse() #
Gets the value of "margin-after-collapse"
String get marginAfterCollapse();
Code void set marginAfterCollapse(value) #
Sets the value of "margin-after-collapse"
void set marginAfterCollapse(var value);
Code void set marginBefore(value) #
Sets the value of "margin-before"
void set marginBefore(var value);
Code String get marginBeforeCollapse() #
Gets the value of "margin-before-collapse"
String get marginBeforeCollapse();
Code void set marginBeforeCollapse(value) #
Sets the value of "margin-before-collapse"
void set marginBeforeCollapse(var value);
Code void set marginBottom(value) #
Sets the value of "margin-bottom"
void set marginBottom(var value);
Code void set marginBottomCollapse(value) #
Sets the value of "margin-bottom-collapse"
void set marginBottomCollapse(var value);
Code String get marginBottomCollapse() #
Gets the value of "margin-bottom-collapse"
String get marginBottomCollapse();
Code void set marginCollapse(value) #
Sets the value of "margin-collapse"
void set marginCollapse(var value);
Code void set marginEnd(value) #
Sets the value of "margin-end"
void set marginEnd(var value);
Code void set marginLeft(value) #
Sets the value of "margin-left"
void set marginLeft(var value);
Code void set marginRight(value) #
Sets the value of "margin-right"
void set marginRight(var value);
Code void set marginStart(value) #
Sets the value of "margin-start"
void set marginStart(var value);
Code void set marginTop(value) #
Sets the value of "margin-top"
void set marginTop(var value);
Code String get marginTopCollapse() #
Gets the value of "margin-top-collapse"
String get marginTopCollapse();
Code void set marginTopCollapse(value) #
Sets the value of "margin-top-collapse"
void set marginTopCollapse(var value);
Code void set marquee(value) #
Sets the value of "marquee"
void set marquee(var value);
Code void set marqueeDirection(value) #
Sets the value of "marquee-direction"
void set marqueeDirection(var value);
Code String get marqueeDirection() #
Gets the value of "marquee-direction"
String get marqueeDirection();
Code void set marqueeIncrement(value) #
Sets the value of "marquee-increment"
void set marqueeIncrement(var value);
Code String get marqueeIncrement() #
Gets the value of "marquee-increment"
String get marqueeIncrement();
Code String get marqueeRepetition() #
Gets the value of "marquee-repetition"
String get marqueeRepetition();
Code void set marqueeRepetition(value) #
Sets the value of "marquee-repetition"
void set marqueeRepetition(var value);
Code void set marqueeSpeed(value) #
Sets the value of "marquee-speed"
void set marqueeSpeed(var value);
Code void set marqueeStyle(value) #
Sets the value of "marquee-style"
void set marqueeStyle(var value);
Code void set mask(value) #
Sets the value of "mask"
void set mask(var value);
Code void set maskAttachment(value) #
Sets the value of "mask-attachment"
void set maskAttachment(var value);
Code void set maskBoxImage(value) #
Sets the value of "mask-box-image"
void set maskBoxImage(var value);
Code void set maskBoxImageOutset(value) #
Sets the value of "mask-box-image-outset"
void set maskBoxImageOutset(var value);
Code String get maskBoxImageOutset() #
Gets the value of "mask-box-image-outset"
String get maskBoxImageOutset();
Code String get maskBoxImageRepeat() #
Gets the value of "mask-box-image-repeat"
String get maskBoxImageRepeat();
Code void set maskBoxImageRepeat(value) #
Sets the value of "mask-box-image-repeat"
void set maskBoxImageRepeat(var value);
Code void set maskBoxImageSlice(value) #
Sets the value of "mask-box-image-slice"
void set maskBoxImageSlice(var value);
Code String get maskBoxImageSlice() #
Gets the value of "mask-box-image-slice"
String get maskBoxImageSlice();
Code void set maskBoxImageSource(value) #
Sets the value of "mask-box-image-source"
void set maskBoxImageSource(var value);
Code String get maskBoxImageSource() #
Gets the value of "mask-box-image-source"
String get maskBoxImageSource();
Code void set maskBoxImageWidth(value) #
Sets the value of "mask-box-image-width"
void set maskBoxImageWidth(var value);
Code String get maskBoxImageWidth() #
Gets the value of "mask-box-image-width"
String get maskBoxImageWidth();
Code void set maskClip(value) #
Sets the value of "mask-clip"
void set maskClip(var value);
Code void set maskComposite(value) #
Sets the value of "mask-composite"
void set maskComposite(var value);
Code void set maskImage(value) #
Sets the value of "mask-image"
void set maskImage(var value);
Code void set maskOrigin(value) #
Sets the value of "mask-origin"
void set maskOrigin(var value);
Code void set maskPosition(value) #
Sets the value of "mask-position"
void set maskPosition(var value);
Code void set maskPositionX(value) #
Sets the value of "mask-position-x"
void set maskPositionX(var value);
Code void set maskPositionY(value) #
Sets the value of "mask-position-y"
void set maskPositionY(var value);
Code void set maskRepeat(value) #
Sets the value of "mask-repeat"
void set maskRepeat(var value);
Code void set maskRepeatX(value) #
Sets the value of "mask-repeat-x"
void set maskRepeatX(var value);
Code void set maskRepeatY(value) #
Sets the value of "mask-repeat-y"
void set maskRepeatY(var value);
Code void set maskSize(value) #
Sets the value of "mask-size"
void set maskSize(var value);
Code String get matchNearestMailBlockquoteColor() #
Gets the value of "match-nearest-mail-blockquote-color"
String get matchNearestMailBlockquoteColor();
Code void set matchNearestMailBlockquoteColor(value) #
Sets the value of "match-nearest-mail-blockquote-color"
void set matchNearestMailBlockquoteColor(var value);
Code void set maxHeight(value) #
Sets the value of "max-height"
void set maxHeight(var value);
Code String get maxLogicalHeight() #
Gets the value of "max-logical-height"
String get maxLogicalHeight();
Code void set maxLogicalHeight(value) #
Sets the value of "max-logical-height"
void set maxLogicalHeight(var value);
Code void set maxLogicalWidth(value) #
Sets the value of "max-logical-width"
void set maxLogicalWidth(var value);
Code String get maxLogicalWidth() #
Gets the value of "max-logical-width"
String get maxLogicalWidth();
Code void set maxWidth(value) #
Sets the value of "max-width"
void set maxWidth(var value);
Code void set minHeight(value) #
Sets the value of "min-height"
void set minHeight(var value);
Code String get minLogicalHeight() #
Gets the value of "min-logical-height"
String get minLogicalHeight();
Code void set minLogicalHeight(value) #
Sets the value of "min-logical-height"
void set minLogicalHeight(var value);
Code String get minLogicalWidth() #
Gets the value of "min-logical-width"
String get minLogicalWidth();
Code void set minLogicalWidth(value) #
Sets the value of "min-logical-width"
void set minLogicalWidth(var value);
Code void set minWidth(value) #
Sets the value of "min-width"
void set minWidth(var value);
Code void set nbspMode(value) #
Sets the value of "nbsp-mode"
void set nbspMode(var value);
Code void set opacity(value) #
Sets the value of "opacity"
void set opacity(var value);
Code void set orphans(value) #
Sets the value of "orphans"
void set orphans(var value);
Code void set outline(value) #
Sets the value of "outline"
void set outline(var value);
Code void set outlineColor(value) #
Sets the value of "outline-color"
void set outlineColor(var value);
Code void set outlineOffset(value) #
Sets the value of "outline-offset"
void set outlineOffset(var value);
Code void set outlineStyle(value) #
Sets the value of "outline-style"
void set outlineStyle(var value);
Code void set outlineWidth(value) #
Sets the value of "outline-width"
void set outlineWidth(var value);
Code void set overflow(value) #
Sets the value of "overflow"
void set overflow(var value);
Code void set overflowX(value) #
Sets the value of "overflow-x"
void set overflowX(var value);
Code void set overflowY(value) #
Sets the value of "overflow-y"
void set overflowY(var value);
Code void set padding(value) #
Sets the value of "padding"
void set padding(var value);
Code void set paddingAfter(value) #
Sets the value of "padding-after"
void set paddingAfter(var value);
Code void set paddingBefore(value) #
Sets the value of "padding-before"
void set paddingBefore(var value);
Code void set paddingBottom(value) #
Sets the value of "padding-bottom"
void set paddingBottom(var value);
Code void set paddingEnd(value) #
Sets the value of "padding-end"
void set paddingEnd(var value);
Code void set paddingLeft(value) #
Sets the value of "padding-left"
void set paddingLeft(var value);
Code void set paddingRight(value) #
Sets the value of "padding-right"
void set paddingRight(var value);
Code void set paddingStart(value) #
Sets the value of "padding-start"
void set paddingStart(var value);
Code void set paddingTop(value) #
Sets the value of "padding-top"
void set paddingTop(var value);
Code void set page(value) #
Sets the value of "page"
void set page(var value);
Code void set pageBreakAfter(value) #
Sets the value of "page-break-after"
void set pageBreakAfter(var value);
Code String get pageBreakAfter() #
Gets the value of "page-break-after"
String get pageBreakAfter();
Code String get pageBreakBefore() #
Gets the value of "page-break-before"
String get pageBreakBefore();
Code void set pageBreakBefore(value) #
Sets the value of "page-break-before"
void set pageBreakBefore(var value);
Code String get pageBreakInside() #
Gets the value of "page-break-inside"
String get pageBreakInside();
Code void set pageBreakInside(value) #
Sets the value of "page-break-inside"
void set pageBreakInside(var value);
Code void set perspective(value) #
Sets the value of "perspective"
void set perspective(var value);
Code String get perspectiveOrigin() #
Gets the value of "perspective-origin"
String get perspectiveOrigin();
Code void set perspectiveOrigin(value) #
Sets the value of "perspective-origin"
void set perspectiveOrigin(var value);
Code String get perspectiveOriginX() #
Gets the value of "perspective-origin-x"
String get perspectiveOriginX();
Code void set perspectiveOriginX(value) #
Sets the value of "perspective-origin-x"
void set perspectiveOriginX(var value);
Code String get perspectiveOriginY() #
Gets the value of "perspective-origin-y"
String get perspectiveOriginY();
Code void set perspectiveOriginY(value) #
Sets the value of "perspective-origin-y"
void set perspectiveOriginY(var value);
Code void set pointerEvents(value) #
Sets the value of "pointer-events"
void set pointerEvents(var value);
Code void set position(value) #
Sets the value of "position"
void set position(var value);
Code void set quotes(value) #
Sets the value of "quotes"
void set quotes(var value);
Code void set regionBreakAfter(value) #
Sets the value of "region-break-after"
void set regionBreakAfter(var value);
Code String get regionBreakAfter() #
Gets the value of "region-break-after"
String get regionBreakAfter();
Code void set regionBreakBefore(value) #
Sets the value of "region-break-before"
void set regionBreakBefore(var value);
Code String get regionBreakBefore() #
Gets the value of "region-break-before"
String get regionBreakBefore();
Code void set regionBreakInside(value) #
Sets the value of "region-break-inside"
void set regionBreakInside(var value);
Code String get regionBreakInside() #
Gets the value of "region-break-inside"
String get regionBreakInside();
Code void set regionOverflow(value) #
Sets the value of "region-overflow"
void set regionOverflow(var value);
Code String removeProperty(String propertyName) #
Example: valString= styleObj.removeProperty('color')
String removeProperty(String propertyName);
Code void set resize(value) #
Sets the value of "resize"
void set resize(var value);
Code void set right(value) #
Sets the value of "right"
void set right(var value);
Code void set rtlOrdering(value) #
Sets the value of "rtl-ordering"
void set rtlOrdering(var value);
Code void setProperty(String propertyName, String value, [String priority]) #
Example: styleObj.setProperty('color', 'red', 'important')
void setProperty(String propertyName, String value, [String priority]);
Code void set size(value) #
Sets the value of "size"
void set size(var value);
Code void set speak(value) #
Sets the value of "speak"
void set speak(var value);
Code void set src(value) #
Sets the value of "src"
void set src(var value);
Code void set tableLayout(value) #
Sets the value of "table-layout"
void set tableLayout(var value);
Code String get tapHighlightColor() #
Gets the value of "tap-highlight-color"
String get tapHighlightColor();
Code void set tapHighlightColor(value) #
Sets the value of "tap-highlight-color"
void set tapHighlightColor(var value);
Code void set textAlign(value) #
Sets the value of "text-align"
void set textAlign(var value);
Code void set textCombine(value) #
Sets the value of "text-combine"
void set textCombine(var value);
Code void set textDecoration(value) #
Sets the value of "text-decoration"
void set textDecoration(var value);
Code void set textDecorationsInEffect(value) #
Sets the value of "text-decorations-in-effect"
void set textDecorationsInEffect(var value);
Code String get textDecorationsInEffect() #
Gets the value of "text-decorations-in-effect"
String get textDecorationsInEffect();
Code void set textEmphasis(value) #
Sets the value of "text-emphasis"
void set textEmphasis(var value);
Code String get textEmphasisColor() #
Gets the value of "text-emphasis-color"
String get textEmphasisColor();
Code void set textEmphasisColor(value) #
Sets the value of "text-emphasis-color"
void set textEmphasisColor(var value);
Code void set textEmphasisPosition(value) #
Sets the value of "text-emphasis-position"
void set textEmphasisPosition(var value);
Code String get textEmphasisPosition() #
Gets the value of "text-emphasis-position"
String get textEmphasisPosition();
Code String get textEmphasisStyle() #
Gets the value of "text-emphasis-style"
String get textEmphasisStyle();
Code void set textEmphasisStyle(value) #
Sets the value of "text-emphasis-style"
void set textEmphasisStyle(var value);
Code void set textFillColor(value) #
Sets the value of "text-fill-color"
void set textFillColor(var value);
Code void set textIndent(value) #
Sets the value of "text-indent"
void set textIndent(var value);
Code void set textLineThrough(value) #
Sets the value of "text-line-through"
void set textLineThrough(var value);
Code String get textLineThrough() #
Gets the value of "text-line-through"
String get textLineThrough();
Code void set textLineThroughColor(value) #
Sets the value of "text-line-through-color"
void set textLineThroughColor(var value);
Code String get textLineThroughColor() #
Gets the value of "text-line-through-color"
String get textLineThroughColor();
Code String get textLineThroughMode() #
Gets the value of "text-line-through-mode"
String get textLineThroughMode();
Code void set textLineThroughMode(value) #
Sets the value of "text-line-through-mode"
void set textLineThroughMode(var value);
Code String get textLineThroughStyle() #
Gets the value of "text-line-through-style"
String get textLineThroughStyle();
Code void set textLineThroughStyle(value) #
Sets the value of "text-line-through-style"
void set textLineThroughStyle(var value);
Code void set textLineThroughWidth(value) #
Sets the value of "text-line-through-width"
void set textLineThroughWidth(var value);
Code String get textLineThroughWidth() #
Gets the value of "text-line-through-width"
String get textLineThroughWidth();
Code void set textOrientation(value) #
Sets the value of "text-orientation"
void set textOrientation(var value);
Code String get textOrientation() #
Gets the value of "text-orientation"
String get textOrientation();
Code void set textOverflow(value) #
Sets the value of "text-overflow"
void set textOverflow(var value);
Code void set textOverline(value) #
Sets the value of "text-overline"
void set textOverline(var value);
Code void set textOverlineColor(value) #
Sets the value of "text-overline-color"
void set textOverlineColor(var value);
Code String get textOverlineColor() #
Gets the value of "text-overline-color"
String get textOverlineColor();
Code String get textOverlineMode() #
Gets the value of "text-overline-mode"
String get textOverlineMode();
Code void set textOverlineMode(value) #
Sets the value of "text-overline-mode"
void set textOverlineMode(var value);
Code void set textOverlineStyle(value) #
Sets the value of "text-overline-style"
void set textOverlineStyle(var value);
Code String get textOverlineStyle() #
Gets the value of "text-overline-style"
String get textOverlineStyle();
Code void set textOverlineWidth(value) #
Sets the value of "text-overline-width"
void set textOverlineWidth(var value);
Code String get textOverlineWidth() #
Gets the value of "text-overline-width"
String get textOverlineWidth();
Code void set textRendering(value) #
Sets the value of "text-rendering"
void set textRendering(var value);
Code void set textSecurity(value) #
Sets the value of "text-security"
void set textSecurity(var value);
Code void set textShadow(value) #
Sets the value of "text-shadow"
void set textShadow(var value);
Code void set textSizeAdjust(value) #
Sets the value of "text-size-adjust"
void set textSizeAdjust(var value);
Code String get textSizeAdjust() #
Gets the value of "text-size-adjust"
String get textSizeAdjust();
Code void set textStroke(value) #
Sets the value of "text-stroke"
void set textStroke(var value);
Code void set textStrokeColor(value) #
Sets the value of "text-stroke-color"
void set textStrokeColor(var value);
Code String get textStrokeColor() #
Gets the value of "text-stroke-color"
String get textStrokeColor();
Code String get textStrokeWidth() #
Gets the value of "text-stroke-width"
String get textStrokeWidth();
Code void set textStrokeWidth(value) #
Sets the value of "text-stroke-width"
void set textStrokeWidth(var value);
Code void set textTransform(value) #
Sets the value of "text-transform"
void set textTransform(var value);
Code void set textUnderline(value) #
Sets the value of "text-underline"
void set textUnderline(var value);
Code String get textUnderlineColor() #
Gets the value of "text-underline-color"
String get textUnderlineColor();
Code void set textUnderlineColor(value) #
Sets the value of "text-underline-color"
void set textUnderlineColor(var value);
Code void set textUnderlineMode(value) #
Sets the value of "text-underline-mode"
void set textUnderlineMode(var value);
Code String get textUnderlineMode() #
Gets the value of "text-underline-mode"
String get textUnderlineMode();
Code String get textUnderlineStyle() #
Gets the value of "text-underline-style"
String get textUnderlineStyle();
Code void set textUnderlineStyle(value) #
Sets the value of "text-underline-style"
void set textUnderlineStyle(var value);
Code void set textUnderlineWidth(value) #
Sets the value of "text-underline-width"
void set textUnderlineWidth(var value);
Code String get textUnderlineWidth() #
Gets the value of "text-underline-width"
String get textUnderlineWidth();
Code void set top(value) #
Sets the value of "top"
void set top(var value);
Code void set transform(value) #
Sets the value of "transform"
void set transform(var value);
Code String get transformOrigin() #
Gets the value of "transform-origin"
String get transformOrigin();
Code void set transformOrigin(value) #
Sets the value of "transform-origin"
void set transformOrigin(var value);
Code void set transformOriginX(value) #
Sets the value of "transform-origin-x"
void set transformOriginX(var value);
Code String get transformOriginX() #
Gets the value of "transform-origin-x"
String get transformOriginX();
Code String get transformOriginY() #
Gets the value of "transform-origin-y"
String get transformOriginY();
Code void set transformOriginY(value) #
Sets the value of "transform-origin-y"
void set transformOriginY(var value);
Code void set transformOriginZ(value) #
Sets the value of "transform-origin-z"
void set transformOriginZ(var value);
Code String get transformOriginZ() #
Gets the value of "transform-origin-z"
String get transformOriginZ();
Code void set transformStyle(value) #
Sets the value of "transform-style"
void set transformStyle(var value);
Code void set transition(value) #
Sets the value of "transition"
void set transition(var value);
Code void set transitionDelay(value) #
Sets the value of "transition-delay"
void set transitionDelay(var value);
Code String get transitionDelay() #
Gets the value of "transition-delay"
String get transitionDelay();
Code String get transitionDuration() #
Gets the value of "transition-duration"
String get transitionDuration();
Code void set transitionDuration(value) #
Sets the value of "transition-duration"
void set transitionDuration(var value);
Code String get transitionProperty() #
Gets the value of "transition-property"
String get transitionProperty();
Code void set transitionProperty(value) #
Sets the value of "transition-property"
void set transitionProperty(var value);
Code void set transitionTimingFunction(value) #
Sets the value of "transition-timing-function"
void set transitionTimingFunction(var value);
Code String get transitionTimingFunction() #
Gets the value of "transition-timing-function"
String get transitionTimingFunction();
Code void set unicodeBidi(value) #
Sets the value of "unicode-bidi"
void set unicodeBidi(var value);
Code void set unicodeRange(value) #
Sets the value of "unicode-range"
void set unicodeRange(var value);
Code void set userDrag(value) #
Sets the value of "user-drag"
void set userDrag(var value);
Code void set userModify(value) #
Sets the value of "user-modify"
void set userModify(var value);
Code void set userSelect(value) #
Sets the value of "user-select"
void set userSelect(var value);
Code void set verticalAlign(value) #
Sets the value of "vertical-align"
void set verticalAlign(var value);
Code void set visibility(value) #
Sets the value of "visibility"
void set visibility(var value);
Code void set whiteSpace(value) #
Sets the value of "white-space"
void set whiteSpace(var value);
Code void set widows(value) #
Sets the value of "widows"
void set widows(var value);
Code void set width(value) #
Sets the value of "width"
void set width(var value);
Code void set wordBreak(value) #
Sets the value of "word-break"
void set wordBreak(var value);
Code void set wordSpacing(value) #
Sets the value of "word-spacing"
void set wordSpacing(var value);
Code void set wordWrap(value) #
Sets the value of "word-wrap"
void set wordWrap(var value);
Code void set wrapShape(value) #
Sets the value of "wrap-shape"
void set wrapShape(var value);
Code void set writingMode(value) #
Sets the value of "writing-mode"
void set writingMode(var value);
Code void set zIndex(value) #
Sets the value of "z-index"
void set zIndex(var value);
Code void set zoom(value) #
Sets the value of "zoom"
void set zoom(var value);
Fields
Code String cssText #
String cssText;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.