package js.html
Available on js
CSSStyleDeclarationrepresents a collection of CSS property-value pairs. It is used in a few APIs:Documentation CSSStyleDeclaration by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
alignContent:StringShorthand for the "align-content" CSS property.
alignItems:StringShorthand for the "align-items" CSS property.
alignSelf:StringShorthand for the "align-self" CSS property.
alignmentAdjust:StringShorthand for the "alignment-adjust" CSS property.
alignmentBaseline:StringShorthand for the "alignment-baseline" CSS property.
all:StringShorthand for the "all" CSS property.
anchorPoint:StringShorthand for the "anchor-point" CSS property.
animation:StringShorthand for the "animation" CSS property.
animationDelay:StringShorthand for the "animation-delay" CSS property.
animationDirection:StringShorthand for the "animation-direction" CSS property.
animationDuration:StringShorthand for the "animation-duration" CSS property.
animationFillMode:StringShorthand for the "animation-fill-mode" CSS property.
animationIterationCount:StringShorthand for the "animation-iteration-count" CSS property.
animationName:StringShorthand for the "animation-name" CSS property.
animationPlayState:StringShorthand for the "animation-play-state" CSS property.
animationTimingFunction:StringShorthand for the "animation-timing-function" CSS property.
azimuth:StringShorthand for the "azimuth" CSS property.
backfaceVisibility:StringShorthand for the "backface-visibility" CSS property.
background:StringShorthand for the "background" CSS property.
backgroundAttachment:StringShorthand for the "background-attachment" CSS property.
backgroundClip:StringShorthand for the "background-clip" CSS property.
backgroundColor:StringShorthand for the "background-color" CSS property.
backgroundImage:StringShorthand for the "background-image" CSS property.
backgroundOrigin:StringShorthand for the "background-origin" CSS property.
backgroundPosition:StringShorthand for the "background-position" CSS property.
backgroundRepeat:StringShorthand for the "background-repeat" CSS property.
backgroundSize:StringShorthand for the "background-size" CSS property.
baselineShift:StringShorthand for the "baseline-shift" CSS property.
binding:StringShorthand for the "binding" CSS property.
bleed:StringShorthand for the "bleed" CSS property.
bookmarkLabel:StringShorthand for the "bookmark-label" CSS property.
bookmarkLevel:StringShorthand for the "bookmark-level" CSS property.
bookmarkState:StringShorthand for the "bookmark-state" CSS property.
border:StringShorthand for the "border" CSS property.
borderBottom:StringShorthand for the "border-bottom" CSS property.
borderBottomColor:StringShorthand for the "border-bottom-color" CSS property.
borderBottomLeftRadius:StringShorthand for the "border-bottom-left-radius" CSS property.
borderBottomRightRadius:StringShorthand for the "border-bottom-right-radius" CSS property.
borderBottomStyle:StringShorthand for the "border-bottom-style" CSS property.
borderBottomWidth:StringShorthand for the "border-bottom-width" CSS property.
borderCollapse:StringShorthand for the "border-collapse" CSS property.
borderColor:StringShorthand for the "border-color" CSS property.
borderImage:StringShorthand for the "border-image" CSS property.
borderImageOutset:StringShorthand for the "border-image-outset" CSS property.
borderImageRepeat:StringShorthand for the "border-image-repeat" CSS property.
borderImageSlice:StringShorthand for the "border-image-slice" CSS property.
borderImageSource:StringShorthand for the "border-image-source" CSS property.
borderImageWidth:StringShorthand for the "border-image-width" CSS property.
borderLeft:StringShorthand for the "border-left" CSS property.
borderLeftColor:StringShorthand for the "border-left-color" CSS property.
borderLeftStyle:StringShorthand for the "border-left-style" CSS property.
borderLeftWidth:StringShorthand for the "border-left-width" CSS property.
borderRadius:StringShorthand for the "border-radius" CSS property.
borderRight:StringShorthand for the "border-right" CSS property.
borderRightColor:StringShorthand for the "border-right-color" CSS property.
borderRightStyle:StringShorthand for the "border-right-style" CSS property.
borderRightWidth:StringShorthand for the "border-right-width" CSS property.
borderSpacing:StringShorthand for the "border-spacing" CSS property.
borderStyle:StringShorthand for the "border-style" CSS property.
borderTop:StringShorthand for the "border-top" CSS property.
borderTopColor:StringShorthand for the "border-top-color" CSS property.
borderTopLeftRadius:StringShorthand for the "border-top-left-radius" CSS property.
borderTopRightRadius:StringShorthand for the "border-top-right-radius" CSS property.
borderTopStyle:StringShorthand for the "border-top-style" CSS property.
borderTopWidth:StringShorthand for the "border-top-width" CSS property.
borderWidth:StringShorthand for the "border-width" CSS property.
bottom:StringShorthand for the "bottom" CSS property.
boxDecorationBreak:StringShorthand for the "box-decoration-break" CSS property.
boxShadow:StringShorthand for the "box-shadow" CSS property.
boxSizing:StringShorthand for the "box-sizing" CSS property.
boxSnap:StringShorthand for the "box-snap" CSS property.
boxSuppress:StringShorthand for the "box-suppress" CSS property.
breakAfter:StringShorthand for the "break-after" CSS property.
breakBefore:StringShorthand for the "break-before" CSS property.
breakInside:StringShorthand for the "break-inside" CSS property.
captionSide:StringShorthand for the "caption-side" CSS property.
chains:StringShorthand for the "chains" CSS property.
clear:StringShorthand for the "clear" CSS property.
clip:StringShorthand for the "clip" CSS property.
clipPath:StringShorthand for the "clip-path" CSS property.
clipRule:StringShorthand for the "clip-rule" CSS property.
color:StringShorthand for the "color" CSS property.
colorInterpolationFilters:StringShorthand for the "color-interpolation-filters" CSS property.
columnCount:StringShorthand for the "column-count" CSS property.
columnFill:StringShorthand for the "column-fill" CSS property.
columnGap:StringShorthand for the "column-gap" CSS property.
columnRule:StringShorthand for the "column-rule" CSS property.
columnRuleColor:StringShorthand for the "column-rule-color" CSS property.
columnRuleStyle:StringShorthand for the "column-rule-style" CSS property.
columnRuleWidth:StringShorthand for the "column-rule-width" CSS property.
columnSpan:StringShorthand for the "column-span" CSS property.
columnWidth:StringShorthand for the "column-width" CSS property.
columns:StringShorthand for the "columns" CSS property.
contain:StringShorthand for the "contain" CSS property.
content:StringShorthand for the "content" CSS property.
counterIncrement:StringShorthand for the "counter-increment" CSS property.
counterReset:StringShorthand for the "counter-reset" CSS property.
counterSet:StringShorthand for the "counter-set" CSS property.
crop:StringShorthand for the "crop" CSS property.
cssText:Stringcue:StringShorthand for the "cue" CSS property.
cueAfter:StringShorthand for the "cue-after" CSS property.
cueBefore:StringShorthand for the "cue-before" CSS property.
cursor:StringShorthand for the "cursor" CSS property.
direction:StringShorthand for the "direction" CSS property.
display:StringShorthand for the "display" CSS property.
displayInside:StringShorthand for the "display-inside" CSS property.
displayList:StringShorthand for the "display-list" CSS property.
displayOutside:StringShorthand for the "display-outside" CSS property.
dominantBaseline:StringShorthand for the "dominant-baseline" CSS property.
elevation:StringShorthand for the "elevation" CSS property.
emptyCells:StringShorthand for the "empty-cells" CSS property.
filter:StringShorthand for the "filter" CSS property.
flex:StringShorthand for the "flex" CSS property.
flexBasis:StringShorthand for the "flex-basis" CSS property.
flexDirection:StringShorthand for the "flex-direction" CSS property.
flexFlow:StringShorthand for the "flex-flow" CSS property.
flexGrow:StringShorthand for the "flex-grow" CSS property.
flexShrink:StringShorthand for the "flex-shrink" CSS property.
flexWrap:StringShorthand for the "flex-wrap" CSS property.
float:StringShorthand for the "float" CSS property.
floatOffset:StringShorthand for the "float-offset" CSS property.
floodColor:StringShorthand for the "flood-color" CSS property.
floodOpacity:StringShorthand for the "flood-opacity" CSS property.
flowFrom:StringShorthand for the "flow-from" CSS property.
flowInto:StringShorthand for the "flow-into" CSS property.
font:StringShorthand for the "font" CSS property.
fontFamily:StringShorthand for the "font-family" CSS property.
fontFeatureSettings:StringShorthand for the "font-feature-settings" CSS property.
fontKerning:StringShorthand for the "font-kerning" CSS property.
fontLanguageOverride:StringShorthand for the "font-language-override" CSS property.
fontSize:StringShorthand for the "font-size" CSS property.
fontSizeAdjust:StringShorthand for the "font-size-adjust" CSS property.
fontStretch:StringShorthand for the "font-stretch" CSS property.
fontStyle:StringShorthand for the "font-style" CSS property.
fontSynthesis:StringShorthand for the "font-synthesis" CSS property.
fontVariant:StringShorthand for the "font-variant" CSS property.
fontVariantAlternates:StringShorthand for the "font-variant-alternates" CSS property.
fontVariantCaps:StringShorthand for the "font-variant-caps" CSS property.
fontVariantEastAsian:StringShorthand for the "font-variant-east-asian" CSS property.
fontVariantLigatures:StringShorthand for the "font-variant-ligatures" CSS property.
fontVariantNumeric:StringShorthand for the "font-variant-numeric" CSS property.
fontVariantPosition:StringShorthand for the "font-variant-position" CSS property.
fontWeight:StringShorthand for the "font-weight" CSS property.
grid:StringShorthand for the "grid" CSS property.
gridArea:StringShorthand for the "grid-area" CSS property.
gridAutoColumns:StringShorthand for the "grid-auto-columns" CSS property.
gridAutoFlow:StringShorthand for the "grid-auto-flow" CSS property.
gridAutoRows:StringShorthand for the "grid-auto-rows" CSS property.
gridColumn:StringShorthand for the "grid-column" CSS property.
gridColumnEnd:StringShorthand for the "grid-column-end" CSS property.
gridColumnStart:StringShorthand for the "grid-column-start" CSS property.
gridRow:StringShorthand for the "grid-row" CSS property.
gridRowEnd:StringShorthand for the "grid-row-end" CSS property.
gridRowStart:StringShorthand for the "grid-row-start" CSS property.
gridTemplate:StringShorthand for the "grid-template" CSS property.
gridTemplateAreas:StringShorthand for the "grid-template-areas" CSS property.
gridTemplateColumns:StringShorthand for the "grid-template-columns" CSS property.
gridTemplateRows:StringShorthand for the "grid-template-rows" CSS property.
hangingPunctuation:StringShorthand for the "hanging-punctuation" CSS property.
height:StringShorthand for the "height" CSS property.
hyphens:StringShorthand for the "hyphens" CSS property.
icon:StringShorthand for the "icon" CSS property.
imageOrientation:StringShorthand for the "image-orientation" CSS property.
imageResolution:StringShorthand for the "image-resolution" CSS property.
imeMode:StringShorthand for the "ime-mode" CSS property.
initialLetters:StringShorthand for the "initial-letters" CSS property.
inlineBoxAlign:StringShorthand for the "inline-box-align" CSS property.
justifyContent:StringShorthand for the "justify-content" CSS property.
justifyItems:StringShorthand for the "justify-items" CSS property.
justifySelf:StringShorthand for the "justify-self" CSS property.
left:StringShorthand for the "left" CSS property.
read only length:IntletterSpacing:StringShorthand for the "letter-spacing" CSS property.
lightingColor:StringShorthand for the "lighting-color" CSS property.
lineBoxContain:StringShorthand for the "line-box-contain" CSS property.
lineBreak:StringShorthand for the "line-break" CSS property.
lineGrid:StringShorthand for the "line-grid" CSS property.
lineHeight:StringShorthand for the "line-height" CSS property.
lineSnap:StringShorthand for the "line-snap" CSS property.
lineStacking:StringShorthand for the "line-stacking" CSS property.
lineStackingRuby:StringShorthand for the "line-stacking-ruby" CSS property.
lineStackingShift:StringShorthand for the "line-stacking-shift" CSS property.
lineStackingStrategy:StringShorthand for the "line-stacking-strategy" CSS property.
listStyle:StringShorthand for the "list-style" CSS property.
listStyleImage:StringShorthand for the "list-style-image" CSS property.
listStylePosition:StringShorthand for the "list-style-position" CSS property.
listStyleType:StringShorthand for the "list-style-type" CSS property.
margin:StringShorthand for the "margin" CSS property.
marginBottom:StringShorthand for the "margin-bottom" CSS property.
marginLeft:StringShorthand for the "margin-left" CSS property.
marginRight:StringShorthand for the "margin-right" CSS property.
marginTop:StringShorthand for the "margin-top" CSS property.
markerOffset:StringShorthand for the "marker-offset" CSS property.
markerSide:StringShorthand for the "marker-side" CSS property.
marks:StringShorthand for the "marks" CSS property.
mask:StringShorthand for the "mask" CSS property.
maskBox:StringShorthand for the "mask-box" CSS property.
maskBoxOutset:StringShorthand for the "mask-box-outset" CSS property.
maskBoxRepeat:StringShorthand for the "mask-box-repeat" CSS property.
maskBoxSlice:StringShorthand for the "mask-box-slice" CSS property.
maskBoxSource:StringShorthand for the "mask-box-source" CSS property.
maskBoxWidth:StringShorthand for the "mask-box-width" CSS property.
maskClip:StringShorthand for the "mask-clip" CSS property.
maskImage:StringShorthand for the "mask-image" CSS property.
maskOrigin:StringShorthand for the "mask-origin" CSS property.
maskPosition:StringShorthand for the "mask-position" CSS property.
maskRepeat:StringShorthand for the "mask-repeat" CSS property.
maskSize:StringShorthand for the "mask-size" CSS property.
maskSourceType:StringShorthand for the "mask-source-type" CSS property.
maskType:StringShorthand for the "mask-type" CSS property.
maxHeight:StringShorthand for the "max-height" CSS property.
maxLines:StringShorthand for the "max-lines" CSS property.
maxWidth:StringShorthand for the "max-width" CSS property.
minHeight:StringShorthand for the "min-height" CSS property.
minWidth:StringShorthand for the "min-width" CSS property.
moveTo:StringShorthand for the "move-to" CSS property.
navDown:StringShorthand for the "nav-down" CSS property.
navIndex:StringShorthand for the "nav-index" CSS property.
navLeft:StringShorthand for the "nav-left" CSS property.
navRight:StringShorthand for the "nav-right" CSS property.
navUp:StringShorthand for the "nav-up" CSS property.
objectFit:StringShorthand for the "object-fit" CSS property.
objectPosition:StringShorthand for the "object-position" CSS property.
opacity:StringShorthand for the "opacity" CSS property.
order:StringShorthand for the "order" CSS property.
orphans:StringShorthand for the "orphans" CSS property.
outline:StringShorthand for the "outline" CSS property.
outlineColor:StringShorthand for the "outline-color" CSS property.
outlineOffset:StringShorthand for the "outline-offset" CSS property.
outlineStyle:StringShorthand for the "outline-style" CSS property.
outlineWidth:StringShorthand for the "outline-width" CSS property.
overflow:StringShorthand for the "overflow" CSS property.
overflowWrap:StringShorthand for the "overflow-wrap" CSS property.
overflowX:StringShorthand for the "overflow-x" CSS property.
overflowY:StringShorthand for the "overflow-y" CSS property.
padding:StringShorthand for the "padding" CSS property.
paddingBottom:StringShorthand for the "padding-bottom" CSS property.
paddingLeft:StringShorthand for the "padding-left" CSS property.
paddingRight:StringShorthand for the "padding-right" CSS property.
paddingTop:StringShorthand for the "padding-top" CSS property.
page:StringShorthand for the "page" CSS property.
pageBreakAfter:StringShorthand for the "page-break-after" CSS property.
pageBreakBefore:StringShorthand for the "page-break-before" CSS property.
pageBreakInside:StringShorthand for the "page-break-inside" CSS property.
pagePolicy:StringShorthand for the "page-policy" CSS property.
read only parentRule:CSSRulepause:StringShorthand for the "pause" CSS property.
pauseAfter:StringShorthand for the "pause-after" CSS property.
pauseBefore:StringShorthand for the "pause-before" CSS property.
perspective:StringShorthand for the "perspective" CSS property.
perspectiveOrigin:StringShorthand for the "perspective-origin" CSS property.
pitch:StringShorthand for the "pitch" CSS property.
pitchRange:StringShorthand for the "pitch-range" CSS property.
playDuring:StringShorthand for the "play-during" CSS property.
position:StringShorthand for the "position" CSS property.
presentationLevel:StringShorthand for the "presentation-level" CSS property.
quotes:StringShorthand for the "quotes" CSS property.
regionFragment:StringShorthand for the "region-fragment" CSS property.
resize:StringShorthand for the "resize" CSS property.
rest:StringShorthand for the "rest" CSS property.
restAfter:StringShorthand for the "rest-after" CSS property.
restBefore:StringShorthand for the "rest-before" CSS property.
richness:StringShorthand for the "richness" CSS property.
right:StringShorthand for the "right" CSS property.
rotation:StringShorthand for the "rotation" CSS property.
rotationPoint:StringShorthand for the "rotation-point" CSS property.
rubyAlign:StringShorthand for the "ruby-align" CSS property.
rubyMerge:StringShorthand for the "ruby-merge" CSS property.
rubyPosition:StringShorthand for the "ruby-position" CSS property.
shapeImageThreshold:StringShorthand for the "shape-image-threshold" CSS property.
shapeMargin:StringShorthand for the "shape-margin" CSS property.
shapeOutside:StringShorthand for the "shape-outside" CSS property.
size:StringShorthand for the "size" CSS property.
speak:StringShorthand for the "speak" CSS property.
speakAs:StringShorthand for the "speak-as" CSS property.
speakHeader:StringShorthand for the "speak-header" CSS property.
speakNumeral:StringShorthand for the "speak-numeral" CSS property.
speakPunctuation:StringShorthand for the "speak-punctuation" CSS property.
speechRate:StringShorthand for the "speech-rate" CSS property.
stress:StringShorthand for the "stress" CSS property.
stringSet:StringShorthand for the "string-set" CSS property.
tabSize:StringShorthand for the "tab-size" CSS property.
tableLayout:StringShorthand for the "table-layout" CSS property.
textAlign:StringShorthand for the "text-align" CSS property.
textAlignLast:StringShorthand for the "text-align-last" CSS property.
textCombineUpright:StringShorthand for the "text-combine-upright" CSS property.
textDecoration:StringShorthand for the "text-decoration" CSS property.
textDecorationColor:StringShorthand for the "text-decoration-color" CSS property.
textDecorationLine:StringShorthand for the "text-decoration-line" CSS property.
textDecorationSkip:StringShorthand for the "text-decoration-skip" CSS property.
textDecorationStyle:StringShorthand for the "text-decoration-style" CSS property.
textEmphasis:StringShorthand for the "text-emphasis" CSS property.
textEmphasisColor:StringShorthand for the "text-emphasis-color" CSS property.
textEmphasisPosition:StringShorthand for the "text-emphasis-position" CSS property.
textEmphasisStyle:StringShorthand for the "text-emphasis-style" CSS property.
textHeight:StringShorthand for the "text-height" CSS property.
textIndent:StringShorthand for the "text-indent" CSS property.
textJustify:StringShorthand for the "text-justify" CSS property.
textOrientation:StringShorthand for the "text-orientation" CSS property.
textOverflow:StringShorthand for the "text-overflow" CSS property.
textShadow:StringShorthand for the "text-shadow" CSS property.
textSpaceCollapse:StringShorthand for the "text-space-collapse" CSS property.
textTransform:StringShorthand for the "text-transform" CSS property.
textUnderlinePosition:StringShorthand for the "text-underline-position" CSS property.
textWrap:StringShorthand for the "text-wrap" CSS property.
top:StringShorthand for the "top" CSS property.
transform:StringShorthand for the "transform" CSS property.
transformOrigin:StringShorthand for the "transform-origin" CSS property.
transformStyle:StringShorthand for the "transform-style" CSS property.
transition:StringShorthand for the "transition" CSS property.
transitionDelay:StringShorthand for the "transition-delay" CSS property.
transitionDuration:StringShorthand for the "transition-duration" CSS property.
transitionProperty:StringShorthand for the "transition-property" CSS property.
transitionTimingFunction:StringShorthand for the "transition-timing-function" CSS property.
unicodeBidi:StringShorthand for the "unicode-bidi" CSS property.
verticalAlign:StringShorthand for the "vertical-align" CSS property.
visibility:StringShorthand for the "visibility" CSS property.
voiceBalance:StringShorthand for the "voice-balance" CSS property.
voiceDuration:StringShorthand for the "voice-duration" CSS property.
voiceFamily:StringShorthand for the "voice-family" CSS property.
voicePitch:StringShorthand for the "voice-pitch" CSS property.
voiceRange:StringShorthand for the "voice-range" CSS property.
voiceRate:StringShorthand for the "voice-rate" CSS property.
voiceStress:StringShorthand for the "voice-stress" CSS property.
voiceVolume:StringShorthand for the "voice-volume" CSS property.
volume:StringShorthand for the "volume" CSS property.
whiteSpace:StringShorthand for the "white-space" CSS property.
widows:StringShorthand for the "widows" CSS property.
width:StringShorthand for the "width" CSS property.
willChange:StringShorthand for the "will-change" CSS property.
wordBreak:StringShorthand for the "word-break" CSS property.
wordSpacing:StringShorthand for the "word-spacing" CSS property.
wordWrap:StringShorthand for the "word-wrap" CSS property.
wrapFlow:StringShorthand for the "wrap-flow" CSS property.
wrapThrough:StringShorthand for the "wrap-through" CSS property.
writingMode:StringShorthand for the "writing-mode" CSS property.
zIndex:StringShorthand for the "z-index" CSS property.
getPropertyCSSValue (property:String):CSSValueThrows:
null |
DOMError |
|---|
getPropertyPriority (property:String):StringgetPropertyValue (property:String):StringThrows:
null |
DOMError |
|---|
item (index:Int):StringremoveProperty (property:String):StringThrows:
null |
DOMError |
|---|
setProperty (property:String, value:String, priority:String = ""):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSStyleDeclaration.html